UNPKG

@jahed/sparql-engine

Version:

SPARQL query engine for servers and web browsers.

10 lines (9 loc) 501 B
import type { PipelineStage } from "../engine/pipeline/pipeline-engine.ts"; import { Bindings } from "../rdf/bindings.ts"; /** * Applies a DISTINCT modifier on the output of another operator. * @see {@link https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#modDuplicates} * @param source - Input {@link PipelineStage} * @return A {@link PipelineStage} which evaluate the DISTINCT operation */ export default function sparqlDistinct(source: PipelineStage<Bindings>): PipelineStage<Bindings>;