import { type RDF } from "https://deno.land/x/ldkit@v0.6.0/rdf.ts";
const { StringQueryable } = RDF;
Generic query engine interfaces. It allow engines to return any type of result object for string queries.
Type Parameters
optional
QueryStringContextType extends QueryStringContext = QueryStringContextMethods
query(query: string, context?: QueryStringContextType): Promise<Query<SupportedMetadataType>>
Initiate a given query provided as a string.
This will produce a future to a query result, which has to be executed to obtain the query results.
This can reject given an unsupported or invalid query.