README
Comunica SPARQL RDF Resolve Hypermedia Actor
An RDF Resolve Hypermedia actor that handles SPARQL endpoints.
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-rdf-resolve-hypermedia-sparql
Configure
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-resolve-hypermedia-sparql/^2.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:rdf-resolve-hypermedia/actors#sparql",
"@type": "ActorRdfResolveHypermediaSparql",
"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
.