Naughty Program Manipulator

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

    2.2.0 • 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.

    Install

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

    DownloadsWeekly Downloads

    2,454

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    31.5 kB

    Total Files

    10

    Last publish

    Collaborators

    • jeswr
    • joachimvh
    • rubensworks
    • rubenverborgh
    • dexagod