UNPKG

@jahed/sparql-engine

Version:

SPARQL query engine for servers and web browsers.

10 lines (9 loc) 498 B
import type { PipelineStage } from "../engine/pipeline/pipeline-engine.ts"; import { Bindings } from "../rdf/bindings.ts"; /** * Formats query solutions (bindings or booleans) from a PipelineStage in W3C SPARQL XML format * @see https://www.w3.org/TR/2013/REC-rdf-sparql-XMLres-20130321/ * @param source - Input pipeline * @return A pipeline s-that yields results in W3C SPARQL XML format */ export default function xmlFormat(source: PipelineStage<Bindings | boolean>): PipelineStage<string>;