rdfstore-js is a project that tries to build a RDF Store with support for the SPARQL query language entirely in JavaScript. The overall goal is to provide infrastructure that will make easier to use RDF and other semantic technologies as the data layer for complex web applications.
This page demoes a simple HTML frontend on top of the store that can be used to manipulate RDF graphs retrieved from the web and stored locally in rdfstore-js.
You can use the the store and the frontend to store data
retrieved from the whole web of linked data.
Some examples:
new rdfstore_frontend('#target',store);
rdfstore.create({"communication": { "parsers": { "text/html" : rdfstore_frontend.rdfaParser, "application/rdf+xml": rdfstore_frontend.rdfParser }, "precedences": ["application/rdf+xml", "text/html"] } }, function(err, store) { // use the store });The code for the proxy and the modified version of RDFQuery are included in the frontend code repository.