{"id":1299,"date":"2013-06-21T21:05:59","date_gmt":"2013-06-21T21:05:59","guid":{"rendered":"https:\/\/notebooks.dataone.org\/?p=1299"},"modified":"2013-06-27T00:03:05","modified_gmt":"2013-06-27T00:03:05","slug":"week-1-getting-started-with-pbase","status":"publish","type":"post","link":"https:\/\/notebooks.dataone.org\/pbase\/week-1-getting-started-with-pbase\/","title":{"rendered":"Week 1: Getting Started with PBase"},"content":{"rendered":"

This week, being the first week of my internship, my main focus was to gain an understanding of the problem domain. The meeting with my mentors and some other members of Scientific Workflows Provenance Working Group (ProvWG)<\/a>\u00a0 helped me to get familiar with some of their past projects and make a list of papers that are closely related to PBase project and start by looking through those.<\/p>\n

Here is an overview of some of the key concepts:<\/p>\n

— A workflow (Wf)<\/em> is a structured composition of program as a sequence of activities that aim at a specific result. Computational steps in a Wf are called “actors”. Thus, a Wf can be thought as a collection of actors with data and control dependencies.<\/p>\n

— A scientific workflow management system<\/em> (SWfMS) controls orchestration and execution of scientific Wfs by enabling an automatic collection of Wf data products and their provenance.<\/p>\n

Provenance<\/em> refers to historical information that shows how data products were generated and what was their transformation process. This can be used to verify the quality of data, make experiment documentation, etc.<\/p>\n

— Two main types of provenance are prospective<\/em> and retrospective<\/em>. The former is represented by Wf specifications (modeled as a UML activity diagram), whereas the latter can be represented by an execution log.<\/p>\n

— The provenance information can be gathered at three semantic levels: OS, Wf, and activity.<\/p>\n

The main goal of this summer project is to develop a provenance management architecture, called PBase, that integrates with core DataONE architecture. PBase is aimed to support advanced query and analytic capabilities on composition of provenance information produced by independence workflows that share some of their data.<\/p>\n

One of the open problems is which provenance data should be gathered and how. To address which data should be gathered, there is an attempt toward a standard model Open Provenance Model (OPM)<\/em>. OPM uses a causality graph to capture the dependencies<\/em> between agents<\/em>, processes<\/em>, and artifacts<\/em>.<\/p>\n

In Data Tree of Life <\/strong><\/a>project [MLB+10], an abstract model for Wfs and their associated provenance traces is used that enables provenance interoperability and integration. In particular, it is shown that provenance data in heterogeneous environments can be unified as a “virtual experiment”, if the repositories used for sharing data can map different identifiers to reference the same dataset, and the provenance traces can be mapped to a common model (in this case, OPM). The Golden Trail <\/strong>project [MLB+11] is a continuation of that effort that aims at enabling the scientist to generate the provenance of their valuable result, which can be assumed as a view on virtual experiment and technically is a subset of a larger provenance graph.<\/p>\n

Provenance management in distributed heterogeneous environments is still an open issue. In [MMW+12], a provenance manager system, Provmanager, for these environments is introduced. Provmanager works at activity level because it is SWfMS independent and allows a collection of more precise and complete provenance data compared to OS level strategy. However, the problem of this level is the need of automatically adapting preexisting mechanisms to incorporate provenance gathering functionalities.<\/p>\n

There are some issues arising here: (1) Wf specifications may be written in different languages, (2) how to adapt an activity to gather provenance information. In [MMW+12],\u00a0these issues are addressed \u00a0by (1) using specific adapters for each SWfMS. e.g. VisTrails, Kepler, Taverna. (2) the adaptation is done indirectly by modifying the specification and inserting new activities responsible for collecting provenance information and encapsulating them together with original Wf activities.<\/p>\n

One other related issue is querying provenance information. Regular Path Queries (RPQ)<\/em> is a core graph query language to answer pattern-based reachability queries. Given a labeled graph G, a RPQ given by expression R returns those pairs of nodes (x,y) which are connected by a path in G such that the concatenated labels match R. Traditional RPQs may not be sufficient for certain information requirements. In [DCK+13], a variant of RPQs that uses the notion of provenance of RPQ results is introduced.<\/p>\n

Next week I will be attending ProvWG meeting at NYU Poly during which we are going to discuss more on some technical details of the project and make decisions for next steps. This is also an opportunity for me to have a face-to-face meeting with the project mentors as well as some other members of DataONE ProvWG.<\/p>\n

References.<\/strong><\/p>\n

[MLB+10] Missier, Paolo, Bertram Lud\u00e4scher<\/em>, Shawn Bowers, Manish Kumar Anand, Ilkay Altintas, Saumen Dey, Anandarup Sarkar, Biva Shrestha, and Carole Goble. \u201cLinking Multiple Workflow Provenance Traces for Interoperable Collaborative Science<\/a>.\u201d In Procs 5th Workshop on Workflows in Support of Large-Scale Science (WORKS), 2010. <\/i><\/p>\n

[MLB+11] Missier, Paolo, Bertram Lud\u00e4scher<\/em>, Shawn Bowers, Ilkay Altintas, Saumen Dey, and Michael Agun. \u201cGolden Trail: Retrieving the Data History that Matters from a Comprehensive Provenance Repository<\/a>.\u201d In Procs. 7th International Digital Curation Conference.<\/i><\/p>\n

[MMW+12] Marinho, Anderson, Leonardo Murta, Cl\u00e1udia Werner, Vanessa Braganholo, S\u00e9rgio Manuel Serra da Cruz, Eduardo Ogasawara, and Marta Mattoso. “ProvManager: a provenance management system for scientific workflows.” Concurrency and Computation: Practice and Experience 24, no. 13 (2012): 1513-1530.<\/i><\/p>\n

[DCK+13] Dey, Saumen, V\u00edctor Cuevas-Vicentt\u00edn, Sven K\u00f6hler, Eric Gribkoff, Michael Wang, and Bertram Lud\u00e4scher. “On implementing provenance-aware regular path queries with relational query engines.” In Proceedings of the Joint EDBT\/ICDT 2013 Workshops<\/i>, pp. 214-223. ACM, 2013.<\/div>\n","protected":false},"excerpt":{"rendered":"

This week, being the first week of my internship, my main focus was to gain an understanding of the problem domain. The meeting with my mentors and some other members of Scientific Workflows Provenance Working Group (ProvWG)\u00a0 helped me to get familiar with some of their past projects and make Continue reading Week 1: Getting Started with PBase<\/span>→<\/span><\/a><\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"_links":{"self":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/1299"}],"collection":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/comments?post=1299"}],"version-history":[{"count":16,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/1299\/revisions"}],"predecessor-version":[{"id":1352,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/1299\/revisions\/1352"}],"wp:attachment":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/media?parent=1299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/categories?post=1299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/tags?post=1299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}