@comunica/actor-query-operation-reduced-hash

A reduced-hash query-operation actor

Usage no npm install needed!

<script type="module">
  import comunicaActorQueryOperationReducedHash from 'https://cdn.skypack.dev/@comunica/actor-query-operation-reduced-hash';
</script>

README

Comunica Reduced Hash Query Operation Actor

npm version

A Query Operation actor that handles SPARQL REDUCED operations by maintaining a hash-based cache of a fixed size.

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-reduced-hash

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-reduced-hash/^2.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:query-operation/actors#reduced",
      "@type": "ActorQueryOperationReducedHash",
      "mediatorQueryOperation": { "@id": "urn:comunica:default:query-operation/mediators#main" },
      "mediatorHashBindings": { "@id": "urn:comunica:default:hash-bindings/mediators#main" }
    }
  ]
}

Config Parameters