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

Re: [JSON] A starting point...

From: Richard Cyganiak <richard@cyganiak.de>
Date: Fri, 8 Apr 2011 11:52:44 +0100
Cc: RDF Working Group <public-rdf-wg@w3.org>
Message-Id: <AD682FBB-A97E-473E-B518-48375973EB65@cyganiak.de>
To: Manu Sporny <msporny@digitalbazaar.com>
Hi Manu,

On 8 Apr 2011, at 03:11, Manu Sporny wrote:
> I think we have at least one proposal for the "JSON as RDF" work starting point now. I don't know if we have one such thing for the "RDF in JSON" work starting point. Would someone care to create one (or more) such proposals?

A quick round-up:

Peter's proposal:


Dominik's Flat triples approach to RDF graphs in JSON:

Michael's JTriples:

Richard's J-Triples:
Array of objects with keys "s"; "p"; "o"/"v" and optional "lang"/"dtype". Blank nodes become "_:xxx"; literals get "v" key instead of "o"; bools and ints use native JSON form.

Abusing SPARQL Query Results in JSON:
http://www.w3.org/TR/rdf-sparql-json-res/ with vars "s", "p", "o", "s_blank" (boolean), o_blank" (boolean), "o_literal" (boolean), "o_lang", "o_datatype"
Received on Friday, 8 April 2011 11:11:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:05 UTC