Abstract
The PROV data model assumes that entities are immutable and all changes to an entity \(e\) are represented by the creation of a new entity \(e'\). This is reasonable for many provenance applications but may produce verbose results once we move towards fine-grained provenance due to the possibility of multiple binds (i.e., variables, elements of data structures) referring to the same mutable data objects (e.g., lists or dictionaries in Python). Changing a data object that is referenced by multiple immutable entities requires duplicating those immutable entities to keep consistency. This imposes an overhead on the provenance storage and makes it hard to represent data-changing operations and their effect on the provenance graph. In this paper, we propose a PROV extension to represent mutable data structures. We do this by adding reference derivations and checkpoints. We evaluate our approach by comparing it to plain PROV and PROV-Dictionary. Results indicate a reduction in the storage overhead for assignments and changes in data structures from \(O(N)\) and \(\varOmega (R \times N)\), respectively, to \(O(1)\) in both cases when compared to plain PROV (\(N\) is the number of members in the data structure and \(R\) is the number of references to the data structure).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Angelino, E., Yamins, D., Seltzer, M.: StarFlow: a script-centric data analysis environment. In: McGuinness, D.L., Michaelis, J.R., Moreau, L. (eds.) IPAW 2010. LNCS, vol. 6378, pp. 236–250. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-17819-1_27
Costa, F., et al.: Capturing and querying workflow runtime provenance with ProV: a practical approach. In: Joint EDBT/ICDT Workshops. ACM, Genoa (2013)
Floyd, R.W.: Algorithm 97: shortest path. Commun. ACM. 5(6), 345 (1962)
Garijo, D., Gil, Y.: Augmenting PROV with plans in P-PLAN: scientific processes as linked data. In: LISC, Boston, USA (2012)
Lerner, B., et al.: Using introspection to collect provenance in R. Informatics 5(1), 12 (2018)
Moreau, L., Missier, P.: PROV-DM: The PROV Data Model (2012). http://www.w3.org/TR/prov-dm/
Michaelides, D.T., Parker, R., Charlton, C., Browne, W.J., Moreau, L.: Intermediate notation for provenance and workflow reproducibility. In: Mattoso, M., Glavic, B. (eds.) IPAW 2016. LNCS, vol. 9672, pp. 83–94. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-40593-3_7
Missier, P., et al.: PROV-dictionary: modeling provenance for dictionary data structures. https://www.w3.org/TR/prov-dictionary/
Missier, P., et al.: D-PROV: extending the PROV provenance model with workflow structure. In: TaPP. USENIX, Lombard (2013)
Moreau, L., Freire, J., Futrelle, J., McGrath, R.E., Myers, J., Paulson, P.: The open provenance model: an overview. In: Freire, J., Koop, D., Moreau, L. (eds.) IPAW 2008. LNCS, vol. 5272, pp. 323–326. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-89965-5_31
Muniswamy-Reddy, K.K., et al.: Provenance-aware storage systems. In: USENIX Annual Technical Conference, pp. 43–56. USENIX, Boston (2006)
Murta, L., Braganholo, V., Chirigati, F., Koop, D., Freire, J.: noWorkflow: capturing and analyzing provenance of scripts. In: Ludäscher, B., Plale, B. (eds.) IPAW 2014. LNCS, vol. 8628, pp. 71–83. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-16462-5_6
Pimentel, J.F., et al.: Versioned-PROV. https://dew-uff.github.io/versioned-prov/
Pimentel, J.F., Freire, J., Murta, L., Braganholo, V.: Fine-grained provenance collection over scripts through program slicing. In: Mattoso, M., Glavic, B. (eds.) IPAW 2016. LNCS, vol. 9672, pp. 199–203. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-40593-3_21
Runnalls, A., Silles, C.: Provenance tracking in R. In: Groth, P., Frew, J. (eds.) IPAW 2012. LNCS, vol. 7525, pp. 237–239. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-34222-6_25
Tariq, D., et al.: Towards automated collection of application-level data provenance. In: TaPP. USENIX, Boston (2012)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this paper
Cite this paper
Pimentel, J.F.N., Missier, P., Murta, L., Braganholo, V. (2018). Versioned-PROV: A PROV Extension to Support Mutable Data Entities. In: Belhajjame, K., Gehani, A., Alper, P. (eds) Provenance and Annotation of Data and Processes. IPAW 2018. Lecture Notes in Computer Science(), vol 11017. Springer, Cham. https://doi.org/10.1007/978-3-319-98379-0_7
Download citation
DOI: https://doi.org/10.1007/978-3-319-98379-0_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-98378-3
Online ISBN: 978-3-319-98379-0
eBook Packages: Computer ScienceComputer Science (R0)