Socket
Book a DemoInstallSign in
Socket

barnard59-sparql

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barnard59-sparql

SPARQL support for Barnard59 Linked Data pipelines

latest
Source
npmnpm
Version
2.3.0
Version published
Maintainers
1
Created
Source

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').

FAQs

Package last updated on 15 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts