2.3.0 • Published 1 year ago

barnard59-sparql v2.3.0

Weekly downloads
3
License
MIT
Repository
github
Last release
1 year ago

barnard59-sparql

SPARQL support for Barnard59 Linked Data pipelines. This package exports operations to run SPARQL queries on endpoints that support the SPARQL Protocol.

Operations

construct

Runs a construct or describe query and parses the response into RDF/JS Quad stream.

  • endpoint: URL of the SPARQL endpoint as a string.
  • query: The SPARQL construct or describe query as a string.
  • user: User for basic authentication.
  • password: Password for basic authentication.
  • operation: The HTTP operation to use ('get' | 'postUrlencoded' | 'postDirect').

select

Runs a select query and returns each row of the results as single chunk object. The chunk object contains key-value pairs for each variable of the select query.

  • endpoint: URL of the SPARQL endpoint as a string.
  • query: The SPARQL select query as a string.
  • user: User for basic authentication.
  • password: Password for basic authentication.
  • operation: The HTTP operation to use ('get' | 'postUrlencoded' | 'postDirect').
2.3.0

1 year ago

2.2.0

1 year ago

1.1.1

2 years ago

1.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.1

6 years ago