5 ms·
RDF is not dependent on XML as a syntax. There's a text-based syntax in common use (Turtle), as well as a separate one based on JSON (JSON-LD).
by zozbot234 3y ago
RDF is not dependent on XML as a syntax. There's a text-based syntax in common use (Turtle), as well as a separate one based on JSON (JSON-LD).
- phpnode 3y agoright, but they have a close association as OP says, and RDF is wrongly dismissed for similar reasons as XML (too complex, too much ceremony, too difficult, not enough value)
- smsm42 3y agoAs somebody who worked with RDF and SPARQL for several years, none of these are actually true - RDF is very simple to work with (especially if you avoid XML stuff), can be operated on by basic string processing tools, and is conceptually pretty simple once you get into the right mindset. I think it's just suffering from bad documentation being overexposed and good examples under-exposed.
- phpnode 3y agoI agree, it just has a bad reputation and there’s few obvious and well known success stories
- e9 3y agoCan you please recommend me an intro tutorial? I’m trying to query DataCommons and it’s really hard to figure out even simple queries.
- smsm42 3y agoWikidata has basic tutorial here https://m.wikidata.org/wiki/Wikidata:SPARQL_tutorial https://m.wikidata.org/wiki/Wikidata:SPARQL_tutorial Which has a lot of wikidata specific stuff but allows to get the basics.
- mxmilkiib 3y agoRDF primer but using Turtle (older doc): https://www.w3.org/2007/02/turtle/primer/ https://www.w3.org/2007/02/turtle/primer/ Audio (etc) plugin format that uses .ttl: https://lv2plug.in/ https://lv2plug.in/ https://gitlab.com/lv2/lv2/-/tree/master/lv2/core.lv2 https://gitlab.com/lv2/lv2/-/tree/master/lv2/core.lv2 https://gitlab.com/lv2/lv2/-/tree/master/schemas.lv2 https://gitlab.com/lv2/lv2/-/tree/master/schemas.lv2 https://drobilla.net/software/sord https://drobilla.net/software/sord https://drobilla.net/software/serd https://drobilla.net/software/serd drobilla has mentioned that, if there was a C JSON-LD lib, that might be enough to warrant an LV3 For more: https://github.com/lv2/lv2/wiki https://github.com/lv2/lv2/wiki P.S. not many people know that LV2 does modular synth style CV https://linuxmusicians.com/viewtopic.php?t=20701&p=112242 https://linuxmusicians.com/viewtopic.php?t=20701&p=112242
- tejtm 3y agoAs well as a nigh tabular form in "N-triples" and "N-quads" https://www.w3.org/TR/n-triples/ https://www.w3.org/TR/n-triples/ https://www.w3.org/TR/n-quads/ https://www.w3.org/TR/n-quads/ which can end up as the easiest formats to work with sometimes. There are tools like 'rapper' and 'serd' to convert to and from the various formats. https://librdf.org/raptor/rapper.html https://librdf.org/raptor/rapper.html https://drobilla.net/software/serd.html https://drobilla.net/software/serd.html
- jshen 3y agoThe problem is that they aren’t tabular and the examples they give which make them look simple are incomplete. For example, they rarely show examples that specify the language or data type. A truly tabular format is hextuples. https://github.com/ontola/hextuples https://github.com/ontola/hextuples
- tejtm 3y ago1000% agree. My dabbling in that direction stopped at five (name-spaced) identifiers. Effectively extending n-quads with an "edge" identifier. Mainly to eliminate blank-nodes but it handed the optional language & typing just fine and more importantly for my use case allowed for the uri to be expressed as curie (namespace) and a local_id each in their own column.