@comunica/actor-rdf-resolve-hypermedia-sparql
v2.10.2
Published
A sparql rdf-resolve-hypermedia actor
Downloads
11,270
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.checkUrlSuffix
: If URLs ending with '/sparql' should also be considered SPARQL endpoints, defaults totrue
.forceHttpGet
: If queries should be sent via HTTP GET instead of POST, defaults tofalse
.cacheSize
: The cache size for COUNT queries, defaults to1024
.