@jahed/sparql-engine
Version:
SPARQL query engine for servers and web browsers.
16 lines (15 loc) • 882 B
TypeScript
import ExecutionContext from "../../engine/context/execution-context.ts";
import type { PipelineStage } from "../../engine/pipeline/pipeline-engine.ts";
import BGPStageBuilder from "../../engine/stages/bgp-stage-builder.ts";
import type { Bindings } from "../../rdf/bindings.ts";
import Graph from "../../rdf/graph.ts";
import type { EngineTriple } from "../../types.ts";
/**
* Join the set of bindings produced by a pipeline stage with a BGP using the Bound Join algorithm.
* @param source - Source of bindings
* @param bgp - Basic Pattern to join with
* @param graph - Graphe queried
* @param Context - Query execution context
* @return A pipeline stage which evaluates the bound join
*/
export default function boundJoin(source: PipelineStage<Bindings>, bgp: EngineTriple[], graph: Graph, builder: BGPStageBuilder, context: ExecutionContext): PipelineStage<Bindings>;