@comunica/actor-init-query
v4.0.2
Published
A query init actor
Downloads
12,716
Readme
Comunica Query Init Actor
An Init actor that can initialize a query engine.
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-init-query
Configure
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-init-query/^4.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:init/actors#query",
"@type": "ActorInitQuery",
"mediatorQueryProcess": { "@id": "urn:comunica:default:query-process/mediators#main" },
"mediatorQueryResultSerialize": { "@id": "urn:comunica:default:query-result-serialize/mediators#serialize" },
"mediatorQueryResultSerializeMediaTypeCombiner": { "@id": "urn:comunica:default:query-result-serialize/mediators#mediaType" },
"mediatorQueryResultSerializeMediaTypeFormatCombiner": { "@id": "urn:comunica:default:query-result-serialize/mediators#mediaTypeFormat" },
"mediatorHttpInvalidate": { "@id": "urn:comunica:default:http-invalidate/mediators#main" }
}
]
}
Config Parameters
mediatorSparqlSerialize
: A mediator over the query result serialize bus.mediatorSparqlSerializeMediaTypeCombiner
: A mediator over the query result serialize bus.mediatorSparqlSerializeMediaTypeFormatCombiner
: A mediator over the query result serialize bus.mediatorHttpInvalidate
: A mediator over the HTTP invalidate bus.