@comunica/actor-query-process-sequential
v4.0.2
Published
A sequential query-process actor
Downloads
6,053
Readme
Comunica Sequential Query Process Actor
An Query Process actor that processes a query in a sequential manner. It first parses the query, optimizes it, and then evaluates it.
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-process-sequential
Configure
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-process-sequential/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:query-process/actors#sequential",
"@type": "ActorQueryProcessSequential",
"mediatorContextPreprocess": { "@id": "urn:comunica:default:context-preprocess/mediators#main" },
"mediatorQueryParse": { "@id": "urn:comunica:default:query-parse/mediators#main" },
"mediatorOptimizeQueryOperation": { "@id": "urn:comunica:default:optimize-query-operation/mediators#main" },
"mediatorQueryOperation": { "@id": "urn:comunica:default:query-operation/mediators#main" },
"mediatorMergeBindingsContext": { "@id": "urn:comunica:default:merge-bindings-context/mediators#main" }
}
]
}
Config Parameters
mediatorContextPreprocess
: A mediator over the context preprocess bus.mediatorSparqlParse
: A mediator over the query parse bus.mediatorOptimizeQueryOperation
: A mediator over the optimize query operation bus.mediatorQueryOperation
: A mediator over the query operation bus.mediatorMergeBindingsContext
: A mediator over the Merge Bindings Context bus.