@comunica/actor-query-operation-quadpattern
TypeScript icon, indicating that this package has built-in type declarations

2.10.1 • Public • Published

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/^2.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:query-operation/actors#quadpattern",
      "@type": "ActorQueryOperationQuadpattern",
      "mediatorResolveQuadPattern": { "@id": "urn:comunica:default:query-operation/mediators#main" }
    }
  ]
}

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.

Package Sidebar

Install

npm i @comunica/actor-query-operation-quadpattern

Weekly Downloads

2,374

Version

2.10.1

License

MIT

Unpacked Size

55.6 kB

Total Files

12

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod