Package Exports
- @comunica/actor-query-operation-quadpattern
- @comunica/actor-query-operation-quadpattern/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@comunica/actor-query-operation-quadpattern) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Comunica Quadpattern Query Operation Actor
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
mediatorResolveQuadPattern
: A mediator over the RDF Resolve Quad Pattern bus.
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.