Explain the given query
A query string or algebra. Algebra objects must not contain blank nodes. They should be converted to variables.
A query context.
The explain mode.
A promise that resolves to the query output.
Optionalcontext: IActionContextAn optional context.
All available SPARQL result media type formats.
Optionalcontext: IActionContextAn optional context.
All available SPARQL (weighted) result media types.
Invalidate all internal caches related to the given page URL. If no page URL is given, then all pages will be invalidated.
Optionalurl: stringThe page URL to invalidate.
A promise resolving when the caches have been invalidated.
OptionalparseParse a stream of RDF with the parsers of this engine.
A text stream in an RDF serialization.
The content type of the stream, and optional parsing and context options.
A promise resolving to a stream of the parsed quads.
Initiate a given query. 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.
This method is prefered in case you don't know beforehand what type of query will be executed, or if you require access to the metadata of the results.
A query string or algebra object. Algebra objects must not contain blank nodes. They should be converted to variables.
Optionalcontext: QueryFormatTypeInner extends stringA context.
Query the bindings results of a SELECT query.
A query string or algebra object. Algebra objects must not contain blank nodes. They should be converted to variables.
Optionalcontext: QueryFormatTypeInner extends stringA context.
Query the boolean result of an ASK query.
A query string or algebra object. Algebra objects must not contain blank nodes. They should be converted to variables.
Optionalcontext: QueryFormatTypeInner extends stringA context.
Query the quad results of a CONSTRUCT or DESCRIBE query.
A query string or algebra object. Algebra objects must not contain blank nodes. They should be converted to variables.
Optionalcontext: QueryFormatTypeInner extends stringA context.
Execute an UPDATE query.
A query string or algebra object. Algebra objects must not contain blank nodes. They should be converted to variables.
Optionalcontext: QueryFormatTypeInner extends stringA context.
Convert a query result to a string stream based on a certain media type.
OptionalupdateUpdate the destination with the given quads and graphs, without serializing them into an update query.
The quads to insert and delete, and the graphs to delete and create.
Optionalcontext: Partial<QueryAlgebraContextInner>A context, which determines the destination in the same way as for update queries.
A promise that resolves when the destination has been updated.
Base interface for a Comunica query engine.