1.3.0 • Published 17 days ago

@incremunica/actor-query-operation-incremental-quadpattern v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
17 days ago

Incremunica Incremental 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 actor has been modified from the original quad-pattern actor to pass the state of the diff attribute from the quad to the binding.

Install

$ yarn add @comunica/actor-query-operation-incremental-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-incremental-quadpattern/^1.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.