Skip to content
sourceobject mode

SPARQL Select

Runs the given SELECT query against the given endpoint parses the result into rows of RDF/JS key-value pairs.

From barnard59-sparql · v2.3.0

Reference

Identifier
https://barnard59.zazuko.com/operations/sparql/selectView as Turtle ↓
Module
barnard59-sparql/select.js
Export
default
Stream
Readable — produces a stream
Implementation
ES module
Install
$ npm i barnard59-sparql

Use it in a pipeline

step definition · Turtle
<> a p:Step ;
  code:implementedBy [
    a code:EcmaScriptModule ;
    code:link <node:barnard59-sparql/select.js#default>
  ] .

Paste this into a pipeline definition to add the step. The code:link value tells barnard59 which module to load at runtime.