2

I am looking for a Node.js module that will act as persistent RDF storage and also will have support for an SPARQL protocol (endpoint).

Actually, I have/will some RDF that I should publish as Linked Data and also to allow access to the RDF data through a SPARQL endpoint.

Any help is welcome! Thanks.

Cheers!

RobV
  • 28,022
  • 11
  • 77
  • 119
Milan
  • 63
  • 4
  • You may be interested in this question here - http://answers.semanticweb.com/questions/3858/rdf-store-for-use-with-nodejs - though I don't think anyone was able to suggest a good one at the time but something may have been developed in the meantime – RobV Aug 19 '11 at 09:05

3 Answers3

1

RDFStore-js now supports persistence, using MongoDB as the backend, and the SPARQL protocol for HTTP access.

You can take a look at the 'Stand-alone SPARQL end-point' section of the README file for the details.

user601852
  • 15
  • 1
0

I'm bumping this thread since I was looking for similar solution and found something.

As of today, there is a set of 3 NodeJS modules filling the use case and still maintained:

I just created a gist on github with a minimal usecase : https://gist.github.com/antoine-morvan/0b0505147771c492e25a90f88ca4ea40

Koubi
  • 33
  • 6
0

A quick google search turned up this on Github - https://github.com/antoniogarrote/rdfstore-js

Looks like it will do exactly what you want

RobV
  • 28,022
  • 11
  • 77
  • 119
  • I came in contact with the author of rdfstore-js and there are 2 problems: 1. does not implement SPARQL HTTP Protocol, 2. Does not support persistent storage. – Milan Aug 19 '11 at 11:15
  • @Milan Hmm ok, but given that it has a Node.js build and Node.js is a HTTP server it should be a relatively simple to implement that part yourself surely? And given that it supports SPARQL does it not support sending requests to remote endpoints i.e. could you not interact with persistent storage via SPARQL Query and Update? – RobV Aug 19 '11 at 13:11
  • @Milan Also I notice that the library has a module js-tree which provides *"in-memory and persistent tree data structures"* so it may be possible to modify the code yourself to make the storage persistent – RobV Aug 19 '11 at 13:15