@comunica/mediator-combine-union

A combine-union mediator

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
21090Jun 20, 2021Oct 18, 2017Minified + gzip package size for @comunica/mediator-combine-union in KB

Readme

Comunica Mediator Combine Union

npm version

A comunica mediator that takes the union of all actor results.

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/mediator-combine-union

Configure

After installing, this mediator can be instantiated as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-union/^1.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@type": "SomeActor",
      "someMediator": {
        "@id": "config-sets:rdf-dereference.json#mediatorRdfParseMediatypes",
        "@type": "MediatorCombineUnion",
        "cc:Mediator/bus": { "@id": "cbrp:Bus/RdfParse" },
        "cmcu:Mediator/CombineUnion/field": "mediaTypes"
      }
    }
  ]
}

Config Parameters

  • cc:Mediator/bus: Identifier of the bus to mediate over.
  • cmcu:Mediator/CombineUnion/field: The field name to mediate over.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.