Repository containing code to run full SPARQL experiments with OSTRICH and Comunica.
The way the experiment code and corresponding docker has been setup expect a specific folder structure.
The experiment folder contains the following:
- "data.ostrich/" : OSTRICH files. Creation of those file should be done beforehand. (see the OSTRICH repository).
- "queries.json" : The file containing the queries.
- "progress.txt" (optional) : A file saving the progress of the experiments. The experiments will start from that point if the file exists.
Queries should be formatted as a JSON file and available in a subdirectory in your experiment folder.
Example queries, from the BEAR-C benchmark can be found in the "./queries" folder.
docker build -t sparql-exp .
docker run --name sparql-exp --rm --volume path_to_ostrich:/var/ostrich sparql-archiving-exp
docker logs -f sparql-exp | tee output.txt
Alternatively, a script, "run-docker.sh" simplify the starting process of docker.