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';


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.


$ yarn add @comunica/actor-query-operation-quadpattern


After installing, this package can be added to your engine's configuration as follows:

  "@context": [
  "actors": [
      "@id": "config-sets:sparql-queryoperators.json#myQuadPatternQueryOperator",
      "@type": "ActorQueryOperationQuadpattern",
      "caqoq:mediatorResolveQuadPattern": { "config-sets:sparql-queryoperators.json#mediatorResolveQuadPattern" }

Config Parameters


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.