@comunica/actor-query-operation-group
v4.0.2
Published
A group query-operation actor
Downloads
20,525
Readme
Comunica Group Query Operation Actor
A Query Operation actor that handles SPARQL GROUP BY
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/actor-query-operation-group
Configure
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-group/^4.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:query-operation/actors#group",
"@type": "ActorQueryOperationGroup",
"mediatorQueryOperation": { "@id": "#mediatorQueryOperation" },
"mediatorMergeBindingsContext": { "@id": "urn:comunica:default:merge-bindings-context/mediators#main" },
"mediatorHashBindings": { "@id": "#mediatorHashBindings" },
"expressionEvaluatorFactory": { "@id": "urn:comunica:default:expression-evaluator/evaluators#main" }
}
]
}
Config Parameters
mediatorQueryOperation
: A mediator over the Query Operation bus.mediatorMergeBindingsContext
: A mediator over the Merge Bindings Context bus.mediatorHashBindings
: A mediator over the Hash Bindings bus.expressionEvaluatorFactory
: A factory to create an Expression Evaluator;