@comunica/actor-query-operation-sparql-endpoint
TypeScript icon, indicating that this package has built-in type declarations

2.10.2 • Public • Published

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/^2.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:query-operation/actors#sparql-endpoint",
      "@type": "ActorQueryOperationSparqlEndpoint",
      "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 to false.

Dependents (4)

Package Sidebar

Install

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

Weekly Downloads

1,906

Version

2.10.2

License

MIT

Unpacked Size

59.3 kB

Total Files

15

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod