Skip to main content

Versioned-PROV: A PROV Extension to Support Mutable Data Entities

  • Conference paper
  • First Online:
Provenance and Annotation of Data and Processes (IPAW 2018)

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).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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

    Chapter  Google Scholar 

  2. Costa, F., et al.: Capturing and querying workflow runtime provenance with ProV: a practical approach. In: Joint EDBT/ICDT Workshops. ACM, Genoa (2013)

    Google Scholar 

  3. Floyd, R.W.: Algorithm 97: shortest path. Commun. ACM. 5(6), 345 (1962)

    Article  Google Scholar 

  4. Garijo, D., Gil, Y.: Augmenting PROV with plans in P-PLAN: scientific processes as linked data. In: LISC, Boston, USA (2012)

    Google Scholar 

  5. Lerner, B., et al.: Using introspection to collect provenance in R. Informatics 5(1), 12 (2018)

    Article  MathSciNet  Google Scholar 

  6. Moreau, L., Missier, P.: PROV-DM: The PROV Data Model (2012). http://www.w3.org/TR/prov-dm/

  7. 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

    Chapter  Google Scholar 

  8. Missier, P., et al.: PROV-dictionary: modeling provenance for dictionary data structures. https://www.w3.org/TR/prov-dictionary/

  9. Missier, P., et al.: D-PROV: extending the PROV provenance model with workflow structure. In: TaPP. USENIX, Lombard (2013)

    Google Scholar 

  10. 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

    Chapter  Google Scholar 

  11. Muniswamy-Reddy, K.K., et al.: Provenance-aware storage systems. In: USENIX Annual Technical Conference, pp. 43–56. USENIX, Boston (2006)

    Google Scholar 

  12. 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

    Chapter  Google Scholar 

  13. Pimentel, J.F., et al.: Versioned-PROV. https://dew-uff.github.io/versioned-prov/

  14. 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

    Chapter  Google Scholar 

  15. 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

    Chapter  Google Scholar 

  16. Tariq, D., et al.: Towards automated collection of application-level data provenance. In: TaPP. USENIX, Boston (2012)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to João Felipe N. Pimentel .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics