@comunica/actor-query-source-identify-compositefile
v5.2.0
Published
A compositefile query-source-identify actor
Downloads
1,134
Readme
Comunica Composite File Query Source Identify Actor
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-compositefileConfigure
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
mediatorQuerySourceIdentify: A mediator over the Query Source Identify bus.mediatorMergeBindingsContext: A mediator over the Merge Bindings Context bus.
