@comunica/actor-query-operation-bgp-left-deep-smallest-sort
v1.22.0
Published
A bgp-left-deep-smallest-sort query-operation actor
Downloads
33
Readme
Comunica BGP left-deep-smallest-sort Query Operation Actor
A Query Operation actor that handles SPARQL Basic Graph Patterns in a left-deep manner based on the pattern with the smallest item count and sorts the remaining patterns by increasing count.
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-bgp-left-deep-smallest-sort
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-bgp-left-deep-smallest-sort/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "config-sets:sparql-queryoperators.json#myLeftDeepSmallestSortBgpQueryOperator",
"@type": "ActorQueryOperationBgpLeftDeepSmallestSort",
"cbqo:mediatorQueryOperation": { "@id": "config-sets:sparql-queryoperators.json#mediatorQueryOperation" }
}
]
}
Config Parameters
cbqo:mediatorQueryOperation
: A mediator over the Query Operation bus.