UNPKG

@jahed/sparql-engine

Version:

SPARQL query engine for servers and web browsers.

12 lines (11 loc) 610 B
import type { Query } from "sparqljs"; import type { PipelineStage } from "../../engine/pipeline/pipeline-engine.ts"; import type { Bindings } from "../../rdf/bindings.ts"; /** * Evaluates a SPARQL SELECT operation, i.e., perform a selection over sets of solutions bindings * @see {@link https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#select} * @param source - Input {@link PipelineStage} * @param query - SELECT query * @return A {@link PipelineStage} which evaluate the SELECT modifier */ export default function select(source: PipelineStage<Bindings>, query: Query): PipelineStage<Bindings>;