6 ms·
JSON-LD and Why I Hate the Semantic Web (2014)
- WalterGR 11y agoIt seems silly to see so much stuff being recast as JSON, both formally (standards like this one) and informally. Growing up in the 80s, I was mostly too young to remember the rise of XML. (Or more: too young to care much about work around a data format.) Presumably a similar thing happened then? I.e. there were existing formal and ad-hoc standards for representing a variety of concepts, and entirely new formal and ad-hoc standards were created to represent the same concepts in XML? Why not create standards around abstract representations of things, and then create standards for serializing those into concrete formats?! So then we'd already have e.g. Abstract-LD and XML-LD; and JSON-LD would be new. That seems less wasteful than throwing everything out when a different data representation format becomes the new hotness. (Certainly we learn things about the abstract representations as time goes on. That could be handled by versioning. So maybe there'd be XML-LD 1.0 and 2.0, but JSON-LD would only exist in 2.0 form because nobody was interesting in doing the work to define the JSON serialization of Abstract-LD 1.0...)
- jerven 11y agoFunnily that's what the s semantic web stack achieved. JSON-LD, RDF/XML, turtle, n3 etc etc all different serialisations for the same knowledge. Choose the serialisation on the use case but no need to remodel your data evertime.
- haddr 11y agoNot 100%.. N3 and Turtle don't have the same expressiveness. Then there is XML... Semantic web is quite easy when it comes to Linked Data (and RDF/S subset), but is becoming painful when more expressiveness is necessary. Unfortunately, in many cases using only RDF/S is not enough, and some more heavyweight reasoning is required. This is both hard and not scalable for bigger sets of data. Then there is the Open World Assumpltion, which is somehow contrary to what a typical person would expect. You can't easily validate your data for some missing property, because of what OWA assumes: we don't know so we can't tell if it's false... Anyway Semantic Web has left a nice and mature technology stack, that is great for many tasks. Most of knowledge modelling use cases can be done with RDF and with multiple tools that supports it's creation, editing, reasoning, querying, visualisation, etc.
- jerven 11y agoYou are right meant to write NTriples not N3 but editing on the phone is such a disaster. N3 adds a rule language next to the data description over RDF. XML disallows a few things that are possible in turtle but in practical terms there are very few cases where that could make a possible difference, e.g. who has a \beep code point in their normal text. OWL is powerfull but hard like all description logics, they ar e tools that very very few developers really master. Yet can be used for very interesting things. Validation is not the goal of OWL and is therefore not well supported. ShACL or whatever comes out of W3C for schema descriptions and constraints will be easier and more performant for this use case. On the last para: yes, yes and yes. Very mature stack with a lot of competition and innovation. Cheers!
- falcolas 11y agoYeah, all I could think of while skimming the spec was "Those who do not learn from XML are doomed to repeat it". Still, this was a great wrap-up discussion, and the specification is easy to read, which is an achievement in its own right and should be recognized.
- icebraining 11y agoWhy not create standards around abstract representations of things That's RDF in a nutshell.
- myhnaccount108 11y agoAnd SGML (which XML is an application of)
- nickbauman 11y agoHating the Semantic Web is like shooting fish in a barrel ever since Clay Shirky wrote an essay that lays bare the goals as being irrelevant and immaterial. http://www.shirky.com/writings/herecomeseverybody/semantic_syllogism.html http://www.shirky.com/writings/herecomeseverybody/semantic_s...
- mehh 11y agoIf you agree with the assumptions being made by the author. Even if you do not find it useful in your domain, not sure thats good reason to hate it.
- woodman 11y agoThat essay isn't very convincing. All of his examples of logical failures would only work with the most poorly defined ontology and the most brain dead reasoner, which is probably why he described everything using the term "syllogism". For example: US citizens are people The First Amendment covers the rights of US citizens Nike is protected by the First Amendment He then goes on to say that one would conclude that Nike, being a person, has kidneys according to some medical database. First, the ontology: why would you join a medical ontology on "person", instead of something more rational like "human" (you know you're going to have medical data for animals as well)? Second, logical failure: the second statement is not one of exclusivity, you cannot actually link the third statement to the prior two. I'm sure this guy is very clever, and has plenty of great qualities - but he has built his argument around the failure of logic, when it is clear that he doesn't know very much about it. The use of very poorly defined terms makes it look like he is aware of this...
- Retric 11y agoYou can't assume automated systems will behave "reasonably". F=m*a is a great rule most of the time that happens to stop working at various edge cases. Sadly, you can say the same of all of physics and just about every other rule. Even things as 'simple' as living vs dead can get really complicated with lots of odd edge cases. http://en.m.wikipedia.org/wiki/HeLa http://en.m.wikipedia.org/wiki/HeLa new species?
- jplur 11y agoI've been thinking about how to format meta data for my creative files - JSON-LD with my personal @context spec is an interesting idea.
- mehh 11y agoThere is more than likely an ontology already defined for the creative meta data, if so you should look at using that rather than inventing your own.
- Fannon 11y agohttp://schema.org/ http://schema.org/ is probably the best choice to go with already established standards. I think there are (even today) some SEO benefits here and for the future maybe some more exciting things.
- mehh 11y agoThis was posted before ...
- sktrdie 11y agoMeh... Semantic Web is a field... it's like hating natural language processing or distributed systems for not having achieved much over the past 10 years. But the fact is they provide strong theoretical foundations for us to develop killer apps on top of.
- ma2rten 11y agoWhat strong theoretical foundations do they provide? (this is a genuine question)
- DyslexicAtheist 11y agoCSS/HTML, and its syntax validators, DOM, RDF, HTTP, MathML, PNG, heck here is a full list: http://www.w3.org/TR/ http://www.w3.org/TR/
- icebraining 11y agoW3 != Semantic Web.
- DyslexicAtheist 11y agoThe question was "What strong theoretical foundations do they provide? (this is genuine question)" which "they" I assumed referred to the W3C. http://www.w3.org/standards/semanticweb/ http://www.w3.org/standards/semanticweb/
- ma2rten 11y agoI should have said "it" not "they". I was referring to the academic field. I guess I was thinking about people in the field when I wrote "they". The parent post said "they provide" but it was referring to multiple fields.
- pestaa 11y agoNo, but they continue to think about the problem and produce useful recommendations.
- bshimmin 11y agoI'll be honest: "the alter of pedantic technical accuracy" made me snigger a little.
- WalterGR 11y agoHave you read the essay "Metacrap: Putting the torch to seven straw-men of the meta-utopia" by Cory Doctorow? You may enjoy it: http://www.well.com/~doctorow/metacrap.htm http://www.well.com/~doctorow/metacrap.htm My favorite expression from it: "the lab-coated guardians of epistemology". More fully: "In meta-utopia, the lab-coated guardians of epistemology sit down and rationally map out a hierarchy of ideas..."
- bshimmin 11y agoI was actually poking fun at the misspelling of "altar" - seemed quite amusing given the context!
- WalterGR 11y agoAh, yes. :)
- jerven 11y agoYet in practice schema.org shows that people do put in their webpages and it has a benefit. Cory argues that you can't trust meta data therefore its useless. Newsflash nothing can be trusted, but its at least nice if you can parse it before deciding if its spam or ham!
- mark_l_watson 11y agoJSON-LD is certainly valuable, but I don't understand how to use SPARQL, RDFS or OWL reasoners, etc. with it. Would a client ingest JSON-LD and store it locally in an RDF data store? There is a ton of great work in knowledge engineering using RDFS and OWL, and tossing that seems like a bad idea.
- Rezo 11y agoI think the author's point was that JSON-LD isn't primarily intended for existing users of RDF, SPARQL etc. Most developers already work with JSON on a regular basis (not so much RDF), and JSON-LD is a model for merging and combine data sources, in JSON. It's good that conversion from and to RDF is now standardized, but it's probably not something that your average dev is going to be taking advantage of. They'll likely continue to ingest, process and store the data in JSON.
- mark_l_watson 11y agoThat is a good point. I am still trying to wrap my head around using JSON-LD. One advantage of RDFS (or OWL) is being able to integrate different data sources using different schemas. That probably is just not a typical JSON-LD use case. BTW, I have written a couple books on the semantic web, so that shows my prejudices :-)
- cwyers 11y agoI really wish that, in addition to two videos, he linked some regular text telling us what JSON-LD is and why it matters. Videos, for me, have a much lower information density than text, and are much less amenable to skimming to see if I'm interested enough to go further.
- throwaway9216 11y agoDue to shitty academic job market, I was forced to take a job part of which could be described as "semantic web evangelist". If you read some incredibly optimistic article about the semantic web and how it solves all life's problems, there's a non-negligible chance that I wrote it. The semantic web is a colossal waste of time and money. It does more harm than good. Unless you're a savvy PI (probably in a European country) who has used it to lasso a big fat grant from clueless committees who think in terms of buzzwords. Every successful project which is linked in any way to semantic web, would have been successful without the semantic web. The only original thing to come out of semantic web, RDF, causes more harm than good. Anyone who has had to deal with encoding sequences in RDF, or any other kind of nontrivial structured data, which is only possible with incredibly asinine "blank node" trickery, either knows this or is deceiving themselves. Semantic reasoners are either limited to EL ontologies, which defeats the whole purpose of OWL's expressiveness; or else take dozens of gigabytes of RAM to reason over any ontology more complicated than "the pizza ontology". Utterly, thoroughly irrelevant in today's VPS-based world. The semantic web "community" is about 75% made up of invalid URLs because all these academic geniuses are too busy theorizing about ontologies to realize that all the links into their department webpage are going to stop working when their one-year postdoc expires. Various URL-standardizing services try to address this, unfortunately the number of these services is approximately 1 per semantic web researcher, and in the long run they're no more stable than the department webpages. The semantic web is a horrific waste of (mostly EU) grant funds that could be used on far more worthy research. The world would be a better place if the whole idea had never been invented.
- haddr 11y ago"Every successful project which is linked in any way to semantic web, would have been successful without the semantic web." I was thinking many times of it. For most of the time it is true, but not always. I still can find few good examples. Look at dbpedia. It may look messy, but there is vast amount of data there, that is taken advantage of by many projects (also commercial). While i can imagine making a database with the same data, it is the "linked data" initiative that gave it such possibilities. I agree that there were huge loads of money spent on it, and many projects simply didn't deliver what was promised. But anyway, does research always succeeds in 100% of the cases?