JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3297
  • Score
    100M100P100Q158219F
  • License MIT

A inner-multi-bind-source rdf-join actor

Package Exports

  • @comunica/actor-rdf-join-inner-multi-bind-source
  • @comunica/actor-rdf-join-inner-multi-bind-source/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@comunica/actor-rdf-join-inner-multi-bind-source) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Comunica Inner Multi Bind Source RDF Join Actor

npm version

An RDF Join actor that inner-joins 2 or more streams by picking the one with the lowest cardinality, chunking it according to a certain block size, and joining each chunk with the remaining query by pushing it into the source.

This actor can only work if the (equal) source of remaining join entries accept pushing down joins (selector shape must allow joinBindings).

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-rdf-join-inner-multi-bind-source

Configure

After installing, this package can be added to your engine's configuration as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-join-inner-multi-bind-source/^1.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:rdf-join/actors#inner-multi-bind-source",
      "@type": "ActorRdfJoinMultiBindSource",
      "mediatorJoinSelectivity": { "@id": "urn:comunica:default:rdf-join-selectivity/mediators#main" },
      "mediatorJoinEntriesSort": { "@id": "urn:comunica:default:rdf-join-entries-sort/mediators#main" },
      "mediatorQueryOperation": { "@id": "urn:comunica:default:query-operation/mediators#main" }
    }
  ]
}

Config Parameters

  • mediatorJoinSelectivity: A mediator over the RDF Join Selectivity bus.
  • mediatorJoinEntriesSort: A mediator over the RDF Join Entries Sort bus.
  • selectivityModifier: Multiplier for selectivity values. (defaults to 0.0001)
  • blockSize: The maximum amount of bindings to send to the source per block. (defaults to 16)