@comunica/actor-query-operation-path-zero-or-one
v4.0.2
Published
A path-zero-or-one query-operation actor
Downloads
20,553
Readme
Comunica Path ZeroOrOne Query Operation Actor
A Query Operation actor that handles SPARQL zero or one property paths 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-path-zero-or-one
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-path-zero-or-one/^4.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:query-operation/actors#path-zero-or-one",
"@type": "ActorQueryOperationPathZeroOrOne",
"mediatorQueryOperation": { "@id": "urn:comunica:default:query-operation/mediators#main" },
"mediatorMergeBindingsContext": { "@id": "urn:comunica:default:merge-bindings-context/mediators#main" }
}
]
}
Config Parameters
mediatorQueryOperation
: A mediator over the Query Operation bus.mediatorMergeBindingsContext
: A mediator over the Merge Bindings Context bus.