Comunica: PROV4ITDaTa project
This is a monorepo that contains a custom Comunica engine with custom actors,
tailored to needs of the PROV4ITDaTa project.
Concretely, this monorepo provides the following packages:
@prov4itdata/actor-init-sparql
: a custom configuration of the Comunica engine.@prov4itdata/actor-rdf-resolve-quad-pattern-federated
: a slightly updated version of@comunica/actor-rdf-resolve-quad-pattern-federated
that allows to collect the provenance data from the federated sources.@prov4itdata/actor-rdf-metadata-extract-annotate-provenance
: a new actor that captures source-level provenance.@prov4itdata/context-entries
: this package is a plain copy of the not-yet-published https://github.com/comunica/comunica/tree/master/packages/context-entries@prov4itdata/actor-optimize-query-operation-provenance-wrapper
: Query operation wrapper that enables access to metadata provenance.@prov4itdata/actor-query-operation-collect-provenance
: Uses a Comunica observer to collect metadata from query operations executed on the query operation bus.
yarn install
For now, the verifications are ignored, so all commits can happen using -n --no-verify
The /experiments
folder contains experiments that illustrate how the metadata (from the applied query operations) can be obtained and processed.
The following commands serve as an example to run the experiments:
cd ./experiments
node run-experiment.js observation_records/queries/q00.rq observation_records/outputs/q00-metadata.json https://ruben.verborgh.org/profile/ https://www.rubensworks.net
node run-experiment.js observation_records/queries/q01.rq observation_records/outputs/q01-metadata.json https://ruben.verborgh.org/profile/ https://www.rubensworks.net
node run-experiment.js observation_records/queries/q02.rq observation_records/outputs/q02-metadata.json https://ruben.verborgh.org/profile/ https://www.rubensworks.net
This code is copyrighted by Ghent University – imec and released under the MIT license.