Explain the given query
A query string or algebra.
An optional query context.
The explain mode.
A promise that resolves to the query output or explanation.
Optionalcontext: anyAn optional context.
All available SPARQL result media type formats.
Optionalcontext: anyAn 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.
Optionalcontext: anyAn optional ActionContext to pass to the actors.
A promise resolving when the caches have been invalidated.
Parse 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.
Evaluate the given query
A query string or algebra.
Optionalcontext: QueryFormatTypeInner extends string ? QueryStringContext : QueryAlgebraContextAn optional query context.
A promise that resolves to the query output.
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 string ? QueryStringContext : QueryAlgebraContextA 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 string ? QueryStringContext : QueryAlgebraContextA context.
ProtectedqueryEvaluate or explain the given query
A query string or algebra.
Optionalcontext: QueryFormatTypeInner extends string ? QueryStringContext : QueryAlgebraContextAn optional query context.
A promise that resolves to the query output or explanation.
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 string ? QueryStringContext : QueryAlgebraContextA 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 string ? QueryStringContext : QueryAlgebraContextA context.
Convert a query result to a string stream based on a certain media type.
A query result.
OptionalmediaType: stringA media type.
Optionalcontext: anyAn optional context.
A text stream.
Update 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<QueryAlgebraContext>A context, which determines the destination in the same way as for update queries.
A promise that resolves when the destination has been updated.
StaticfinalConvert a final query result to an internal one.
A final query result.
StaticinternalConvert an internal query result to a final one.
An intermediary query result.
A Comunica SPARQL query engine.