@comunica/bus-query-operation
v4.0.2
Published
A comunica bus for query-operation events.
Downloads
16,772
Readme
Comunica Bus Query Operation
A bus for evaluating SPARQL algebra operations.
This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.
Click here if you just want to query with Comunica.
Install
$ yarn add @comunica/bus-query-operation
Bus usage
- Context:
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-operation/^4.0.0/components/context.jsonld"
- Bus name:
ActorQueryOperation:_default_bus
Creating actors on this bus
Actors extending ActorQueryOperation
or ActorQueryOperationTyped
are automatically subscribed to this bus.
It is recommended to extend from ActorQueryOperationTyped
if your actor supports a single query operation,
as the bus will be able to handle this actor more efficiently.
This is not applicable if your actor handles multiple different types of query operations.