@comunica/actor-rdf-join-optional-bind
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

Comunica Optional Bind RDF Join Actor

npm version

An RDF Join actor that left-joins (optional) 2 streams using the bind join algorithm. It binds each item of the first stream with the second operation, and recursively resolving that operation by delegating to the Query Operation bus.

By default, it will bind in a depth-first manner, but this can be changed to breadth-first iteration if needed.

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-optional-bind

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-optional-bind/^3.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:rdf-join/actors#optional-bind",
      "@type": "ActorRdfJoinOptionalBind",
      "mediatorJoinSelectivity": { "@id": "urn:comunica:default:rdf-join-selectivity/mediators#main" },
      "mediatorQueryOperation": { "@id": "urn:comunica:default:query-operation/mediators#main" },
      "mediatorMergeBindingsContext": { "@id": "urn:comunica:default:merge-bindings-context/mediators#main" }
    }
  ]
}

Config Parameters

Package Sidebar

Install

npm i @comunica/actor-rdf-join-optional-bind

Weekly Downloads

1,222

Version

3.0.3

License

MIT

Unpacked Size

35.4 kB

Total Files

12

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod