@comunica/actor-query-operation-quadpattern

A quadpattern query-operation actor

Usage no npm install needed!

<script type="module">
  import comunicaActorQueryOperationQuadpattern from 'https://cdn.skypack.dev/@comunica/actor-query-operation-quadpattern';
</script>

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.