@jahed/sparql-engine
Version:
SPARQL query engine for servers and web browsers.
10 lines (9 loc) • 341 B
TypeScript
import type { UnionPattern } from "sparqljs";
import PlanVisitor from "../plan-visitor.ts";
/**
* Implements the UNION Merge rule: all SPARQL UNION clauses in the same group pattern
* should be merged as one single UNION clause.
*/
export default class UnionMerge extends PlanVisitor {
visitUnion(node: UnionPattern): UnionPattern;
}