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

NTriple vs. JSON... (Re: JSON Emergency Brake)

From: Ivan Herman <ivan@w3.org>
Date: Wed, 24 Aug 2011 12:44:41 +0200
Cc: Gavin Carothers <gavin@topquadrant.com>, Richard Cyganiak <richard@cyganiak.de>, RDF WG <public-rdf-wg@w3.org>
Message-Id: <85B945E4-46CB-4A2D-BE2A-6DE03730278D@w3.org>
To: Thomas Steiner <tomac@google.com>
Not directly related to Thomas' original issue, but it give me this unorthodox thought...

My understanding is that the reason of having NTriples as well as the RDF/JSON stuff is to have a simple, easy-to-parse, easy-to-generate serialization of RDF triples, mostly to be consumed by machines. If we look at the fact that there are tons of JSON parsers out there already then... Why bothering about NTriple standardization? We can just define a serialization called something like simple-triple-interchange that happens to use JSON syntax for practical reasons...

Just a thought...

Ivan


On Aug 24, 2011, at 11:30 , Thomas Steiner wrote:

> Hi Richard, Gavin, all,
> 
>> On Tue, Aug 23, 2011 at 10:54 AM, Richard Cyganiak <richard@cyganiak.de> wrote:
>>> Can you as someone from the Javascript corner think of some things that the WG could do to avoid or reduce that potential confusion, besides not doing the work at all?
> 
> Not sure all honestly. Naming it appropriately might help. Stating
> something like "uses JSON encoding technically, but does not feel like
> JSON actually" seems wrong, awkward, and a no-go.
> 
>> ... I guess I'm just not convinced that RDF/JSON meets any of the JSON
>> specific use cases from http://www.w3.org/2011/rdf-wg/wiki/TF-JSON-UC,
>> sure it's in "JSON" but RDF/JSON sure as heck doesn't look like any
>> JSON I've seen. And if you need a Javascript library to consume it why
>> bother with JSON? The library can parse N-Triples easily. I don't
>> think that publishing two ways of expressing RDF in JSON is worth it
>> any more.
> +1, but I said this before.
> 
>> So uh, no I guess I can't think of another way of reducing the confusion.
> Me neither. Probably there is a way, though, we just don't see it yet :-D
> 
> Best,
> Tom
> 
> -- 
> Thomas Steiner, Research Scientist, Google Inc.
> http://blog.tomayac.com, http://twitter.com/tomayac
> 


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Wednesday, 24 August 2011 10:42:08 GMT

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