-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for MD with [[wikilinks]] and properties #409
Comments
SA currently extends I haven't seen the About the wikilinks, I am curious about what type of interpretation you would expect, it will probably need to be something like the way SA currently interprets regular links, as in: [A document with a link](http://www.example.org) @prefix fx: <http://sparql.xyz/facade-x/ns/> .
@prefix xyz: <http://sparql.xyz/facade-x/data/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
<http://www.example.org/document> a fx:root .
<http://www.example.org/document> a xyz:Document .
<http://www.example.org/document> rdf:_1 <http://www.example.org/document/paragraph/1> .
#
<http://www.example.org/document/paragraph/1> a xyz:Paragraph .
<http://www.example.org/document/paragraph/1> rdf:_1 <http://www.example.org/document/paragraph/1/link/1> .
#
<http://www.example.org/document/paragraph/1/link/1> a xyz:Link .
<http://www.example.org/document/paragraph/1/link/1> xyz:destination "http://www.example.org" .
<http://www.example.org/document/paragraph/1/link/1> rdf:_1 "A document with a link" |
OK, I found this link documenting Logseq properties: https://docs.logseq.com/#/page/properties |
I would expect a specific SA property so that it's easy to distinguish and work with internal links (in most cases, they can be a resource of type Note, unless it has a specific So, if we have two MD files A.md and B.md, and A.md contains a paragraph saying:
then <http://www.example.org/document/paragraph/1> a xyz:Paragraph ;
xyz:mentions <URI of B> . (I don't remember now in SA what will be the property linking the paragraph URI with the string Now, the URI of B is often provided is some way by the tool but if there is a too bg diversity then the file path of B can be used. Then in many cases the inverse relationship becomes interesting: find me all paragraphs (and in which documents they are) which mention B or C, for example. Some of these tools, have not only page (note) references with [[wikilinks]] but also block references, which in Clojure/Datalog tools like Logseq1, Roam Research and Hulunote (there are two more are with (( )) and in Obsidian there is another mechanism) have dereferencible URIs, where one paragraph can mention another. Footnotes
|
There is a growing number of tools for personal knowledge management, a sizable part of which uses MD with [[wikilinks]]. This includes Obsidian (with over 1 mln users), Logseq, Foam, Dendron, acreom, Cosma, nb, Drafts, Emanote, Nota, Zettlr, Supernotes, bangle.io and more. Most of them use GitHub flavour of MD or are very close to it, but more importantly, they all use
[[ ]]
syntax for internal links to build a graph of MD files. Since SA already supports MD, recognizing this structure will allow traversing the graph of MD files regardless of the tool used for creating it.A growing number of these tools support properties. There is some variation there,
key: value
(from YAML, and within---
front matter, e.g. in Obsdian) orkey::value
(from Roam, e.g. Logseq) where the [[key]] is a separate, linked MD file.It's maybe worth noting that Logseq already has some RDF capabilities, thanks to @cldwalker .
The text was updated successfully, but these errors were encountered: