Package Exports
- @comunica/actor-query-source-identify-hypermedia-sparql
- @comunica/actor-query-source-identify-hypermedia-sparql/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-source-identify-hypermedia-sparql) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Comunica SPARQL Query Source Identify Hypermedia Actor
A Query Source Identify 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-query-source-identify-hypermedia-sparqlConfigure
After installing, this package can be added to your engine's configuration as follows:
{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-source-identify-hypermedia-sparql/^1.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:query-source-identify-hypermedia/actors#sparql",
      "@type": "ActorQuerySourceIdentifyHypermediaSparql",
      "mediatorHttp": { "@id": "urn:comunica:default:http/mediators#main" },
      "mediatorMergeBindingsContext": { "@id": "urn:comunica:default:merge-bindings-context/mediators#main" }
    }
  ]
}Config Parameters
- mediatorHttp: A mediator over the HTTP bus.
- mediatorMergeBindingsContext: A mediator over the Merge Bindings Context bus.
- checkUrlSuffix: If URLs ending with '/sparql' should also be considered SPARQL endpoints, defaults to- true.
- forceHttpGet: If queries should be sent via HTTP GET instead of POST, defaults to- false.
- forceSourceType: Forces all sources provided to be interpreted as SPARQL endpoints, defaults to- false.
- cacheSize: The cache size for COUNT queries, defaults to- 1024.
- bindMethod: The query operation for communicating bindings, defaults to- 'values', alt:- 'union'or- 'filter'.
- countTimeout: Timeout in ms of how long count queries are allowed to take. If the timeout is reached, an infinity cardinality is returned. Defaults to- 3000.
- cardinalityCountQueries: If count queries should be sent to obtain the cardinality of (sub)queries. If set to false, resulting cardinalities will always be considered infinity. Defaults to- true
- cardinalityEstimateConstruction: If cardinality estimates for larger queries should be constructed locally from (sub)query cardinalities when possible. Defaults to- false. If set to false, count queries will be sent for every operation at all levels.