npm.io
5.4.0 • Published 7h ago

@comunica/actor-query-source-identify-compositefile

Licence
MIT
Version
5.4.0
Deps
8
Size
32 kB
Vulns
0
Weekly
0
Stars
583

Comunica Composite File Query Source Identify Actor

npm version

A Query Source Identify actor that handles composite file sources.

This actor enables querying over multiple file URLs as a single combined source, such as:

{ sources: [{ type: 'compositefile', value: [ 'https://example.org/file1.ttl', 'https://example.org/file2.ttl' ]}]; }

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-source-identify-compositefile

Configure

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

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-source-identify-compositefile/^5.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:query-source-identify/actors#compositefile",
      "@type": "ActorQuerySourceIdentifyCompositeFile",
      "mediatorQuerySourceIdentify": { "@id": "urn:comunica:default:query-source-identify/mediators#main" },
      "mediatorMergeBindingsContext": { "@id": "urn:comunica:default:merge-bindings-context/mediators#main" }
    }
  ]
}
Config Parameters

Keywords