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

Re: Querying JSON-LD on client side

From: Ruben Verborgh <ruben.verborgh@ugent.be>
Date: Thu, 16 Jul 2015 13:41:29 +0200
Cc: public-linked-json@w3.org
Message-Id: <8DCAE558-2A90-4069-9BE7-85E7AB472FA0@ugent.be>
To: Immanuel Normann <immanuel.normann@gmail.com>
Hi Immanuel,

> is there a javascript-lib that allows to query JSON-LD graphs on client side?

The Triple Pattern Fragments client [1] is a JavaScript library and app (demo [2])
that executes SPARQL queries over a REST API, namely the Triple Pattern Fragments API [3].
Our implementation of the client [1] and the server [4] support JSON-LD, in addition to other RDF serializations.
More than 600,000 datasets are available through this API [5].

This might be what you want because of the client-side query executor.
It might not be entirely what you want, because of the specific interface.

> The reason I'd like to have this client-side query facility is this design approach: a client can only request through a REST API JSON-LD data.

That was exactly the idea behind the TPF interface, so maybe you should consider giving it a try?
Let me know if we can help out!



[1] https://github.com/LinkedDataFragments/Client.js
[2] http://client.linkeddatafragments.org/
[3] http://www.hydra-cg.com/spec/latest/triple-pattern-fragments/
[4] https://github.com/LinkedDataFragments/Server.js
[5] http://linkeddatafragments.org/data/
Received on Thursday, 16 July 2015 11:42:06 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 16 July 2015 11:42:06 UTC