W3C home > Mailing lists > Public > public-linked-json@w3.org > July 2015

RE: Querying JSON-LD on client side

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Fri, 17 Jul 2015 19:11:28 +0200
To: "'Olivier Rossel'" <olivier.rossel@gmail.com>, "'Nicholas Bollweg'" <nick.bollweg@gmail.com>
Cc: "'Ruben Verborgh'" <ruben.verborgh@ugent.be>, "'Immanuel Normann'" <immanuel.normann@gmail.com>, "'public-linked-json'" <public-linked-json@w3.org>, 'Niklas Lindström' <lindstream@gmail.com>
Message-ID: <041a01d0c0b3$9fa4c8c0$deee5a40$@gmx.net>
On 16 Jul 2015 at 21:32, Olivier Rossel wrote:
> If the API accepts to return RDF/N3, you can use the N3 parser here:
> http://ruben.verborgh.org/blog/2013/04/30/lightning-fast-rdf-in-javascrip
> t/
> and retrieve your data as a graph of javascript objects on the client side.
> You can then traverse that graph in whatever way you want.

Niklas (CC'ed) implemented the same for JSON-LD:


Here's an example of how it can be used:


He even went as far as writing a simple spec for it:


It's quite straightforward. 


Markus Lanthaler
Received on Friday, 17 July 2015 17:12:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:45 UTC