W3C home > Mailing lists > Public > public-rdf-wg@w3.org > April 2011

Re: [JSON] Modularization and JSON-LD

From: Richard Cyganiak <richard@cyganiak.de>
Date: Thu, 7 Apr 2011 21:43:59 +0100
Cc: Manu Sporny <msporny@digitalbazaar.com>, RDF Working Group <public-rdf-wg@w3.org>
Message-Id: <C60F7C88-D564-4A2C-A9EB-F886A1DAEDA5@cyganiak.de>
To: Steve Harris <steve.harris@garlik.com>
Hi Steve,

On 6 Apr 2011, at 12:50, Steve Harris wrote:
>> ... JSON-LD ...
> 
> So, I'm still a little confused about what the use-case is for this style of RDF serialisation.
> 
> The goal seems to be some kind of duality where "Javascript people" can consume it natively as JSON, and "RDF people" can consume it as triples, but I'm not clear on how either part wins over what we have now.

So here it is as I understand it. RDF, despite all its shortcomings, has several very real and tangible advantages over JSON:

1. URIs are explicitly marked up, so you get proper hypermedia and object identifiers.

2. Terms in your data dictionary can be globally unique and resolve to human- and machine-readable definitions. Corollary: It's easy to standardize data dictionaries.

3. Publishers can mix their own data dictionary terms with those defined and standardized by others in a single data object.

4. Data from several sources will automatically mix at the consumer, to the extent that the sources have aligned their data dictionaries and object identifiers.

Let's assume that these advantages appeal to some JSON publishers (who don't care much for RDF).

Now let's further assume that we can standardize some conventions for JSON that, if followed, produce the benefits above.

So the carrot for "JSON people" is that they can make their JSON more hypermedia friendly and generally more webby by following some of these conventions, in some places, wherever it makes sense for them.

The side effect: Now at least a part of their JSON parses to (some subset of) RDF. So the "RDF people" win because they get more RDF, from parties that would never ever publish Turtle or RDF/XML.


This story is how I can talk myself into believing that JSON-LD or something like it could be a really good idea.

Best,
Richard
Received on Thursday, 7 April 2011 20:44:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:41 GMT