# Operations declared by barnard59-sparql
# https://barnard59.zazuko.com/packages/sparql

@prefix code: <https://code.described.at/>.
@prefix p: <https://pipeline.described.at/>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.

<https://barnard59.zazuko.com/operations/sparql/construct> a p:Operation, p:ReadableObjectMode;
  rdfs:comment "Runs the given CONSTRUCT query against the given endpoint parses the result.";
  rdfs:label "SPARQL Construct";
  code:implementedBy [ a code:EcmaScriptModule;
      code:link <node:barnard59-sparql/construct.js#default>
    ].

<https://barnard59.zazuko.com/operations/sparql/in-memory/query> a p:Operation, p:ReadableObjectMode;
  rdfs:comment "Runs the given query against each input chunk.";
  rdfs:label "SPARQL in-memory Query";
  code:implementedBy [ a code:EcmaScriptModule;
      code:link <node:barnard59-sparql/inMemory.js#query>
    ].

<https://barnard59.zazuko.com/operations/sparql/in-memory/update> a p:Operation, p:ReadableObjectMode;
  rdfs:comment "Runs the given DELETE/INSERT command against each input chunk.";
  rdfs:label "SPARQL in-memory Update";
  code:implementedBy [ a code:EcmaScriptModule;
      code:link <node:barnard59-sparql/inMemory.js#update>
    ].

<https://barnard59.zazuko.com/operations/sparql/select> a p:Operation, p:ReadableObjectMode;
  rdfs:comment "Runs the given SELECT query against the given endpoint parses the result into rows of RDF/JS key-value pairs.";
  rdfs:label "SPARQL Select";
  code:implementedBy [ a code:EcmaScriptModule;
      code:link <node:barnard59-sparql/select.js#default>
    ].
