A set of context entries that can be passed to a query engine, such as data sources, fetch configuration, etc.
import { QueryContext, QueryEngine } from "ldkit";const context: QueryContext = { sources: ["https://dbpedia.org/sparql"],};const engine = new QueryEngine();await engine.queryBoolean("ASK { ?s ?p ?o }", context); Copy
import { QueryContext, QueryEngine } from "ldkit";const context: QueryContext = { sources: ["https://dbpedia.org/sparql"],};const engine = new QueryEngine();await engine.queryBoolean("ASK { ?s ?p ?o }", context);
A set of context entries that can be passed to a query engine, such as data sources, fetch configuration, etc.