Evaluation of Provenance Serialisations for Astronomical Provenance
<|reference_start|>Evaluation of Provenance Serialisations for Astronomical Provenance: Provenance data from astronomical pipelines are instrumental in establishing trust and reproducibility in the data processing and products. In addition, astronomers can query their provenance to answer questions routed in areas such as anomaly detection, recommendation, and prediction. The next generation of astronomical survey telescopes such as the Vera Rubin Observatory or Square Kilometre Array, are capable of producing peta to exabyte scale data, thereby amplifying the importance of even small improvements to the efficiency of provenance storage or querying. In order to determine how astronomers should store and query their provenance data, this paper reports on a comparison between the turtle and JSON provenance serialisations. The triple store Apache Jena Fuseki and the graph database system Neo4j were selected as representative database management systems (DBMS) for turtle and JSON, respectively. Simulated provenance data was uploaded to and queried over each DBMS and the metrics measured for comparison were the accuracy and timing of the queries as well as the data upload times. It was found that both serialisations are competent for this purpose, and both have similar query accuracy. The turtle provenance was found to be more efficient at storing and uploading the data. Regarding queries, for small datasets ($<$5MB) and simple information retrieval queries, the turtle serialisation was also found to be more efficient. However, queries for JSON serialised provenance were found to be more efficient for more complex queries which involved matching patterns across the DBMS, this effect scaled with the size of the queried provenance.<|reference_end|>
@article{johnson2024evaluation,
    title={Evaluation of Provenance Serialisations for Astronomical Provenance},
    author={Michael A. C. Johnson and Marcus Paradies and Hans-Rainer Kl"ockner
  and Albina Muzafarova and Kristen Lackeos and David J. Champion and Marta
  Dembska and Sirko Schindler},
    journal={arXiv preprint arXiv:2407.14290},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.14290},
    primaryClass={astro-ph.IM cs.DB}
}