Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ldkit/mod.ts>QueryEngine

LDkit - Linked Data query toolkit for TypeScript developers
Go to Latest
class QueryEngine
implements IQueryEngine
import { QueryEngine } from "https://deno.land/x/ldkit@1.1.0/mod.ts";

Methods

protected
getFetch(context?: Context)
protected
getSparqlEndpoint(context?: Context)
query(
query: string,
responseType: string,
context?: Context,
)
queryAndResolve<T extends ResolverType>(
type: T,
query: string,
context?: Context,
)
queryBindings(query: string, context?: Context): Promise<RDF.ResultStream<RDF.Bindings>>
queryBoolean(query: string, context?: Context): Promise<boolean>
queryQuads(query: string, context?: Context): Promise<RDF.ResultStream<RDF.Quad>>
queryVoid(query: string, context?: Context): Promise<void>