Skip to content

crs4/provenance-storage

Repository files navigation

CN-HPC Spoke 9 WP4: ProvStor provenance storage prototype

Store provenance data as an RDF graph.

RO-Crate metadata storage with Apache Jena Fuseki

Fuseki docs: https://jena.apache.org/documentation/fuseki2

cp .env.example .env
docker compose up

Switch to another terminal window.

Install the MinIO client command line tool mc following the MinIO Quickstart.

Create an alias:

mc alias set localstore http://localhost:9000 minio miniosecret

The above modifies ~/.mc/config.json, so it does not need to be re-executed if you wipe out minio-data.

Environment Configuration

On the server side, all environment variables are set in an .env file. An example configuration is provided in .env.example.

Dev mode

docker compose -f docker-compose.yaml -f docker-compose-dev.yaml up

CLI configuration

Point the CLI to the API by editing ~/.config/provstor.config, example:

[api]
host = 10.130.131.41
port = 8000

With this setup, the CLI runs locally but executes operations on the remote server through the API.

Example usage

python3 -m venv venv
source venv/bin/activate
pip install -e .

provstor load tests/data/crate1
provstor load tests/data/crate2
provstor query tests/data/query.txt

License

This code is distributed under the terms of the GNU GPL-3.0 license. See COPYING for details.

Acknowledgements

This work has been partially funded by the Italian Research Center on High Performance Computing, Big Data and Quantum Computing - Spoke 9.

Copyright

Copyright © 2024-2025 CRS4
Copyright © 2025 BSC

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages