Re: Criteria for a good JSON RDF serialisation

* Nathan wrote:
>I'd suggest that this illustrates exactly why we should either go for a 
>serialization which encourages using RDF tooling, or stick to simple 
>objects, and /not/ do anything in the middle.
>In the "RDF in JSON" case, well you'd just use the SPARQL query. has an
example how that might look like if JavaScript had some support for data
structure processing, the script linked at the bottom turns SPARQL JSON
results into some more palatable format and then uses protoviz to render
the data. SPARQL query and the rest of the code are in:

I didn't include the libraries I used though, see the link above for
some pre-processed versions. Processing the SPARQL output would have
been okay-ish with jsinq if you could define function objects using some
simple syntax like `x => x` like you can do in C# or Haskell or ...
Björn Höhrmann · ·
Am Badedeich 7 · Telefon: +49(0)160/4415681 ·
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · 

Received on Thursday, 10 March 2011 01:11:42 UTC