1.1.0 • Published 3 years ago

@comunica/actor-query-operation-bgp-membership-filter-combined v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

Comunica BGP Membership Filter Combined Query Operation Actor

npm version

A Query Operation actor that handles SPARQL triple/quad pattern operations and filter out patterns that are guaranteed to have no matches based on all 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-combined

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-combined/^1.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "config-setsa:rdf-membership-filter.json#myBgpMembershipFilterOperatorCombined",
      "@type": "ActorQueryOperationBgpMembershipFilterCombined",
      "caqobmfc:Actor/QueryOperation/BgpMembershipFilter/plainRequestSize": 1000,
      "caqobmfc:Actor/QueryOperation/BgpMembershipFilter/amfTripleSize": 2,
      "cbqo:mediatorQueryOperation": { "@id": "config-setsa:rdf-membership-filter.json#mediatorQueryOperation" }
    }
  ]
}

Config Parameters

  • cbqo:mediatorQueryOperation: A mediator over the Query Operation bus.
  • caqobmfc:Actor/QueryOperation/BgpMembershipFilter/plainRequestSize: The estimated size in bytes of a membership request. Used for the application heuristic of this actor.
  • caqobmfc:Actor/QueryOperation/BgpMembershipFilter/amfTripleSize: The esimated size in bytes of a triple in an AMF. Used for the application heuristic of this actor. Set to 0 to disable this heuristic.