@comunica/actor-query-operation-sparql-endpoint
v2.10.2
Published
A sparql-endpoint query-operation actor
Downloads
12,871
Readme
Comunica SPARQL Endpoint Query Operation Actor
A Query Operation actor that delegates any operations to a SPARQL endpoint if the context contains just a single source.
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-sparql-endpoint
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-sparql-endpoint/^2.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:query-operation/actors#sparql-endpoint",
"@type": "ActorQueryOperationSparqlEndpoint",
"mediatorHttp": { "@id": "urn:comunica:default:http/mediators#main" }
}
]
}
Config Parameters
mediatorHttp
: A mediator over the HTTP bus.forceHttpGet
: If queries should be sent via HTTP GET instead of POST, defaults tofalse
.