An RDF Join actor that inner-joins 2 or more streams by joining the smallest two, and joining the result with the remaining streams by delegating back to the RDF Join bus. While joining the smallest two, the first stream is pushed down as filter into the second stream.
This actor can only work if the source of second join entry accept filtering (selector shape must allow filterBindings
).
This corresponds to the brTPF algorithm.
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.
$ yarn add @comunica/actor-rdf-join-inner-multi-smallest-filter-bindings
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-smallest-filter-bindings/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:rdf-join/actors#inner-multi-smallest-filter-bindings",
"@type": "ActorRdfJoinMultiSmallestFilterBindings"
}
]
}
mediatorJoinSelectivity
: A mediator over the RDF Join Selectivity bus.mediatorJoinEntriesSort
: A mediator over the RDF Join Entries Sort bus.mediatorJoin
: A mediator over the RDF Join 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 64
)