@comunica/actor-query-operation-distinct-hash
v4.0.2
Published
A distinct-hash query-operation actor
Downloads
15,969
Readme
Comunica Distinct Hash Query Operation Actor
A Query Operation actor that handles SPARQL DISTINCT
operations
by maintaining a hash-based cache of infinite size.
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-distinct-hash
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-distinct-hash/^4.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:query-operation/actors#distinct",
"@type": "ActorQueryOperationDistinctHash",
"mediatorQueryOperation": { "@id": "#mediatorQueryOperation" },
"mediatorHashBindings": { "@id": "#mediatorHashBindings" }
}
]
}
Config Parameters
mediatorQueryOperation
: A mediator over the Query Operation bus.mediatorHashBindings
: A mediator over the Hash Bindings bus.