In the shape of languages we started from a collection of notes, made a poset of text-snippets from them, and turned this into an enriched category over the unit interval
This allowed us to view the text-snippets as points in a Lawvere pseudoquasi metric space, and to define a ‘topos’ of enriched presheaves on it, including the Yoneda-presheaves containing semantic information of the snippets.
In the previous post we looked at ‘building a second brain’ apps, such as LogSeq and Obsidian, and hoped to use them to test the conjectured ‘topos of the unconscious’.
In Obsidian, a vault is a collection of notes (with their tags and other meta-data), together with all links between them.
The vault of the language-poset will have one note for every text-snipped, and have a link from note
In their paper, Bradley, Terilla and Vlassopoulos use the enrichment structure where
Most Obsidian vaults are a lot more complicated, possibly having oriented cycles in their internal link structure.

Still, it is always possible to turn the notes of the vault into a category enriched over
Let
- words contained in notes
- in- or out-going links between notes
- tags used
- YAML-frontmatter
- …
Assign a positive real number
For this relevance function
Take a note
We can then define a (generalised) Jaccard distance for any pair of notes
This distance is symmetric,
For a proof in this generality see the paper A note on the triangle inequality for the Jaccard distance by Sven Kosub.
How does this help to make the vault
The poset

We say that the vault is an enriched category over
for all triples of notes
Starting from any relevance function
then the triangle inequality translates for every triple of notes
That is, every relevance function makes
Two simple relevance functions, and their corresponding distance and enrichment functions are available from Obsidian’s Graph Analysis community plugin.
To get structural information on the link-structure take as
‘Jaccard’ in Graph Analysis computes for the current note

To get semantic information on the similarity between notes, let
To access ‘BoW’ (Bags of Words) in Graph Analysis, you must first install the (non-community) NLP plugin which enables various types of natural language processing in the vault. The install is best done via the BRAT plugin (perhaps I’ll do a couple of posts on Obsidian someday).
If it gives for the current note

Graph Analysis offers more functionality, and a good introduction is given in this clip:
Calculating the enrichment data for custom designed relevance functions takes a lot more work, but is doable. Perhaps I’ll return to this later.
Mathematically, it is probably more interesting to start with a given enrichment structure
(tbc)
Previously in this series:
Next: