4 ms·
I am extremely glad to see RDF being worked on and improved. It's an extremely powerful, general data model. It gets a bad rap because if its unfortunate associ
by lukev 3y ago
I am extremely glad to see RDF being worked on and improved. It's an extremely powerful, general data model. It gets a bad rap because if its unfortunate association with the XML syntax and the fact that many of the reference implementations were written at the peak of overdesigned OO cruft.
This type of semantically precise yet flexible data model is going to become increasingly important as a bridge between highly structured data in traditional databases, and unstructured information processing using LLMs. GPT does a surprisingly good job of converting between unstructured data and RDF, and my hope is that LLMs can provide some of the key components in building an actual semantic web, which has remained elusive for so long (for many good reasons.)
- smsm42 3y agoTurtle solves all the XML cruft problems and is very readable. RDF is completely independent from rendering format, which doesn't have to be XML, I am surprised people still associate it with XML.
- leipert 3y agoThis draft seems incomplete / hard to navigate. Apparently one of the new features of RDF 1.2 is „Quoted Triples“ where triples can be used as Subject / Object. But unfortunately it seems at least the Turtle representation doesn’t support this yet? Also the „what’s new in SPARQL 1.2“ is rather empty. Feels like the linked documents are in a very early stage of a draft.
- lukev 3y agoYes, it's an early draft. The "quoted triples" technique is otherwise known as "RDF-star" Here's an article that explains the motivations and alternatives pretty comprehensively: https://www.ontotext.com/knowledgehub/fundamentals/what-is-rdf-star/ https://www.ontotext.com/knowledgehub/fundamentals/what-is-r.... That's one of the reason for having an official 1.2 standard... so all the formats (including Turtle) will incorporate it in a compatible, correct way.
- hobofan 3y agoJust tacking it onto an existing standard is not how you get everyone to "incorporate it in a compatible, correct way". If anything, you'll get exactly the opposite, where laymen that try to shove Turtle 1.2 (which they just know as "Turtle") files, into an incompatible Turtle 1.1 parser which claims to be able to parse "Turtle" (which was a true statement until the release of Turtle 1.2), and things explode and headaches ensue.
- lukev 3y agoSometimes things work out that way. But a new official version of a W3C spec is not just "tacking it on." If data or software claims to be compliant with some version of the relevant W3C spec, they almost always actually are. And while the W3C specs can be a pain in the ass, it's because they're fairly precise and cover most of the edge cases.
- opminion 3y agoN3 (Notation 3), a superset of Turtle, can represent quoted triples.
- zozbot234 3y agoRDF 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 ago
- jszymborski 3y ago> ...unfortunate association with the XML syntax XML isn't great for every use-case, but it's really become the Nickelback of formats. Let's be real, it's pretty brilliant for some things, and I think RDF is a good example of where it shines.