4 ms·
I don't see it is that different. A wiki page typically assigns human-readable properties through its text. You don't write <a href="foo.html">Read more</a>
by Someone 11y ago
I don't see it is that different. A wiki page typically assigns human-readable properties through its text. You don't write
<a href="foo.html">Read more</a>
<a href="bar.html">Read more</a>
but:
<a href="foo.html">Example code</a>
<a href="bar.html">Grammar</a>
If desired, one can even make this easier to parse programmatically:
<a href="foo.html" class="ExampleCode">Hello world example</a>
<a href="bar.html" class="GrammarNotes">Grammar</a>
That allows for styling different types of links differently. Also, a wiki's backend software could extract separate indexes for sample code, grammar fragments, links to compiler source, etc. you could also easily include an attribute for, e.g. Click-through rate, and, if desired, style links accordingly.
In fact, the difference between a classical wiki and a graph database is, IMO, an implementation choice. If you want to process complex queries rapidly or a lot of your attributes aren't textual or aren't intended primarily for visual display, a graph database is more appropriate. If you want to serve standard web pages rapidly, storing the content as HTML may be more appropriate, even if that means that processing queries such as "give me all links to source code examples" run way more slowly.