6.0.0 • Published 24 days ago

barnard59-graph-store v6.0.0

Weekly downloads
344
License
MIT
Repository
github
Last release
24 days ago

barnard59-graph-store

SPARQL Graph Store Protocol support for Linked Data pipelines.

This package provides operations to read and write from a SPARQL Graph Store.

Operations

The operation names match the HTTP methods in lower case.

get ({ endpoint, graph, user, password })

This operation reads a named graph from the given SPARQL Graph Store. A Readable stream of RDF/JS Quad objects is returned. The following options are supported:

  • endpoint: The URL of the Graph Store endpoint as a string.
  • graph: The named graph which should be read as a string or RDF/JS Term. The default graph will be read if an empty string is given or the option is not given at all.
  • user: User for basic authentication.
  • password: Password for basic authentication.

post ({ endpoint, user, password, maxQuadsPerRequest })

This operation appends quads to the given SPARQL Graph store. A Writable stream of RDF/JS Quad objects is returned. The following options are supported:

  • endpoint: The URL of the graph store endpoint as a string.
  • user: User for basic authentication.
  • password: Password for basic authentication.
  • maxQuadsPerRequest: The maximum number of quads per request until a new request is made. (default: 500000)

put ({ endpoint, user, password, maxQuadsPerRequest })

This operation appends quads to the given SPARQL Graph store. A Writable stream of RDF/JS Quad objects is returned. The following options are supported:

  • endpoint: The URL of the graph store endpoint as a string.
  • user: User for basic authentication.
  • password: Password for basic authentication.
  • maxQuadsPerRequest: The maximum number of quads per request until a new request is made. (default: 500000)

Examples

See the barnard59-examples repository for working example pipelines.

6.0.0

24 days ago

5.1.2

2 months ago

5.1.1

4 months ago

5.1.0

4 months ago

1.1.1

8 months ago

1.0.2

10 months ago

1.1.0

9 months ago

5.0.0

5 months ago

3.0.0

6 months ago

4.0.0

6 months ago

2.1.0

6 months ago

2.0.0

7 months ago

1.0.1

3 years ago

1.0.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

5 years ago

0.0.1

5 years ago