1.1.0 • Published 3 years ago
@comunica/actor-query-operation-bgp-membership-filter v1.1.0
Comunica BGP Membership Filter Query Operation Actor
A Query Operation actor that handles SPARQL triple/quad pattern operations and filter out patterns that are guaranteed to have no matches based on any available approximate membership filters.
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-membership-filter
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-membership-filter/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "config-setsa:rdf-membership-filter.json#myBgpMembershipFilterOperator",
"@type": "ActorQueryOperationBgpMembershipFilter",
"caqobmf:Actor/QueryOperation/BgpMembershipFilter/minimumTotalItemsPatternsFactor": 1,
"cbqo:mediatorQueryOperation": { "@id": "config-setsa:rdf-membership-filter.json#mediatorQueryOperation" }
}
]
}
Config Parameters
cbqo:mediatorQueryOperation
: A mediator over the Query Operation bus.caqobmf:Actor/QueryOperation/BgpMembershipFilter/minimumTotalItemsPatternsFactor
: The factor that will be multiplied by the number of BGP patterns to determine the minimal total items threshold for this actor to work.