Module @comunica/actor-query-source-identify-hypermedia-sparql - v4.0.2

Comunica SPARQL Query Source Identify Hypermedia Actor

npm version

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.

$ yarn add @comunica/actor-query-source-identify-hypermedia-sparql

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" }
    }
  ]
}
  • 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.
  • 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.

Classes

ActorQuerySourceIdentifyHypermediaSparql
QuerySourceSparql

Interfaces

IActorQuerySourceIdentifyHypermediaSparqlArgs

Type Aliases

BindMethod