@comunica/actor-query-operation-sparql-endpoint

A sparql-endpoint query-operation actor

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
21790Jul 22, 2021Oct 18, 2017Minified + gzip package size for @comunica/actor-query-operation-sparql-endpoint in KB

Readme

Comunica SPARQL Endpoint Query Operation Actor

npm version

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/^1.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "config-sets:resolve-sparql.json#mySparqlEndpointResolver",
      "@type": "ActorQueryOperationSparqlEndpoint",
      "caqose:Actor/QueryOperation/SparqlEndpoint/mediatorHttp": { "@id": "config-sets:http.json#mediatorHttp" }
    }
  ]
}

Config Parameters

  • caqose:Actor/QueryOperation/SparqlEndpoint/mediatorHttp: A mediator over the HTTP bus.
  • caqose:Actor/QueryOperation/SparqlEndpoint/forceHttpGet: If queries should be sent via HTTP GET instead of POST, defaults to false.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.