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

Re: [JSON] Initial comments

From: David Wood <david.wood@talis.com>
Date: Mon, 28 Feb 2011 13:55:51 -0500
Cc: <nathan@webr3.org>, Pierre-Antoine Champin <pierre-antoine.champin@liris.cnrs.fr>, Thomas Steiner <tomac@google.com>, RDF WG <public-rdf-wg@w3.org>
Message-Id: <D7C241FD-2917-4514-93D1-7D484935CE52@talis.com>
To: Ivan Herman <ivan@w3.org>

On Feb 25, 2011, at 03:55, Ivan Herman wrote:
> On Feb 25, 2011, at 24:21 , Nathan wrote:
> 
> [snip]
> 
>> 
>> Does anybody actually want to write RDF, by hand, in JSON? Up till now I'd always seen JSON as something produced by machines (by some data providing process, or by JSON.stringify'ing some object structure) and something which people just JSON.parse'd back in to an object structure to work with that data as simple object/array structure; where the most important aspect for all was always simplicity of the data structure.
>> 
> 
> The question is: what is the usage of JSON in this respect independently of RDF? Does anybody want to write JSON manually for any purpose?
> 
> I really do not know, I am not a Javascript/JSON programmer. Ie, I do not know what the practice is. But maybe we should not make this type of decision by looking at RDF only.

I think this gets to the heart of the matter.  In my (personal) opinion, we are only discussing a JSON syntax for RDF *at all* because Web authors use and like JSON (Nathan's second use case).

Our response to date has been something like, "Well, we can easily serialize triples into the JSON spec.  That lets you use JSON with RDF.  Done."  Unfortunately, that approach doesn't address the way Web authors currently use JSON in the mainstream and therefore completely misses the point.

It seems to me that we don't need another efficient|better|more interesting|different serialization format for RDF.  We only need to facilitate the use of RDF data by Web authors for the purpose of allowing them to use the fruits of the SemWeb.

So, although RDF serialization in JSON (Nathan's first use case) is easy, I don't see the point.

Regards,
Dave



> 
> Ivan
> 
> ----
> 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 Monday, 28 February 2011 18:56:29 GMT

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