rdf-store-sparql

2.0.0 • Public • Published

rdf-store-sparql

Build Status npm version

SPARQL RDF Store that follows the RDFJS Store interface specification. This store implementation allows accessing graphs using the SPARQL 1.1 Protocol. This requires an external triple store.

Install

npm install --save rdf-store-sparql

Usage

The constructor requires a endpointUrl parameter. It must be a string pointing to the SPARQL endpoint. Optional an options parameter can be given.

The options object can have the following properties:

  • updateUrl: SPARQL endpoint URL for write operations. (Default endpointUrl parameter)
  • factory: RDFJS data factory implementation. (Default the reference implementation @rdfjs/data-model)
  • maxQueryLength: Max length of the import and removeMatches query. Multiple queries in sequence will be used if when maxQueryLength is reached. (Default Infinity)

Package Sidebar

Install

npm i rdf-store-sparql

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

32.6 kB

Total Files

12

Last publish

Collaborators

  • bergos
  • nicola