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.
Optional
context: IActionContextAn optional context.
All available SPARQL result media type formats.
Optional
context: 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.
Optional
url: stringThe page URL to invalidate.
A promise resolving when the caches have been invalidated.
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.
Optional
context: 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.
Optional
context: 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.
Optional
context: 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.
Optional
context: 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.
Optional
context: QueryFormatTypeInner extends stringA context.
Convert a query result to a string stream based on a certain media type.
A query result.
Optional
mediaType: stringA media type.
Optional
context: anyAn optional context.
A text stream.
Base interface for a Comunica query engine.