LDkit
    Preparing search index...

    Type Alias QueryContext

    QueryContext: RDF.QueryStringContext & RDF.QuerySourceContext<
        QuerySourceUnidentified,
    > & IQueryContextCommon

    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);