@comunica/actor-query-operation-quadpattern

A quadpattern query-operation actor

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
21090Jun 21, 2021Oct 18, 2017Minified + gzip package size for @comunica/actor-query-operation-quadpattern in KB

Readme

Comunica Quadpattern Query Operation Actor

npm version

A Query Operation actor that handles SPARQL triple/quad pattern operations by delegating to the RDF Resolve Quad Pattern bus.

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-quadpattern

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-quadpattern/^1.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "config-sets:sparql-queryoperators.json#myQuadPatternQueryOperator",
      "@type": "ActorQueryOperationQuadpattern",
      "caqoq:mediatorResolveQuadPattern": { "config-sets:sparql-queryoperators.json#mediatorResolveQuadPattern" }
    }
  ]
}

Config Parameters

Notes

Quad-pattern-level context

Optionally, quad pattern operations may have a context field that is of type ActionContext. If such a quad-pattern-level context is detected, it will be merged with the actor operation context.

This feature is useful if you want to attach specific flags to quad patterns within the query plan, such as the source(s) it should query over.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.