A Query Operation actor that handles SPARQL REDUCED
operations
by maintaining a hash-based cache of a fixed 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.
$ yarn add @comunica/actor-query-operation-reduced-hash
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-reduced-hash/^4.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:query-operation/actors#reduced",
"@type": "ActorQueryOperationReducedHash",
"mediatorQueryOperation": { "@id": "urn:comunica:default:query-operation/mediators#main" },
"mediatorHashBindings": { "@id": "urn:comunica:default:hash-bindings/mediators#main" }
}
]
}
mediatorQueryOperation
: A mediator over the Query Operation bus.mediatorHashBindings
: A mediator over the Hash Bindings bus.cacheSize
: An optional cache size, defaults to 100
.