{"id":1345,"date":"2013-06-28T22:40:00","date_gmt":"2013-06-28T22:40:00","guid":{"rendered":"https:\/\/notebooks.dataone.org\/?p=1345"},"modified":"2013-07-10T23:37:08","modified_gmt":"2013-07-10T23:37:08","slug":"week-2-provwg-meeting-and-plans-for-next-actions-on-pbase","status":"publish","type":"post","link":"https:\/\/notebooks.dataone.org\/pbase\/week-2-provwg-meeting-and-plans-for-next-actions-on-pbase\/","title":{"rendered":"Week 2: ProvWG Meeting and Plans for Next Actions on PBase"},"content":{"rendered":"
This week I attended ProvWG meeting at NYU-Poly. This was a two day meeting with the main focus on PBase and D-PPROV [MDB+13], a recent project going on in ProvWG that some of its ideas might be related to PBase project.<\/p>\n
D-PPROV is an extension to\u00a0W3C PROV\u00a0<\/a>provenance model\u00a0aimed at representing process structure. \u00a0The main theme of the discussion was what are the challenges with the existing PROV model that motivate a new version of it, what kind of questions the users want to pose on provenance traces, and how to map those questions to the model. After a discussion on different classes of users (and their respective use cases), the group concluded that PROV is not sufficient to answer some of these questions and discussed on how D-PROV should be modeled to address those.<\/p>\n The second half of the meeting focused more specifically on PBase project. The main goal of this project is that given a repository of traces presented as data graphs (DAGs), which queries on it can be useful in terms of provenance and how to answer them in an efficient and scalable manner (DAGs can be shown by \u3008X, l, Y\u3009 triples to show\u00a0 node X is connected to Y via an edge labeled l). In other words, PBase stores provenance traces with a new format in order to provide more query capability.<\/p>\n The figure below shows a simple architecture for PBase.\u00a0Based on this figure, the main phases for PBase project are as follows:<\/p>\n Phase 1: Translate.<\/strong> take provenance data packages as input and produce some databases of our choice.\u00a0 A number of databases were suggested as the PBase database: MongoDB, PostgreSQL, SPARQL, RPQ\/2, and Neo4j (a graph database). And there were different suggestions for Tripe-store: Jena, Sesame, 4store, Virtuoso, AllegroGraph.\u00a0The main criteria in selecting a Triple Store and database for PBase are of compatibility with the existing tools in ProvWG, simplicity, and performance.<\/p>\n Neo4j<\/a>, an open source, fully transactional, eenterprise-grade NoSQL (Not only SQL) graph database, was selected as the PBase storage because its simplicity makes answering some of the graph queries quite straightforward. Neo4j stores property graphs with nodes that form paths in the graph, directed relationships between them, properties for each node (key and a value), and indexes for look-ups.<\/p>\n “A Graph – records data in -> Nodes – which have -> Properties”<\/p>\n ” A Graph Database – manages a -> Graph and – also manages related -> Indexes”<\/p>\n Neo4j is known to be \u201cwhiteboard friendly\u201d meaning that if you can draw the design as boxes on a whiteboard, you can store them on Neo4j [RWC12].<\/p>\n Phase 2: Provenance Queries.<\/strong> working on a set of provenance test queries that PBase should be able to answer.<\/p>\n There are several languages that interoperate with Neo4j: Java code, REST, Cypher, Ruby console, and others. The one that we use for this project is Cypher because as it is said on Neo4j tutorial for Cypher<\/a>,<\/p>\n Phase 3: Test.\u00a0<\/strong>There are a number of provenance traces repositories that can be used in the test phase of the project. The main suggestions are: Vistrail Provenance traces [CFK+13] ,\u00a0ProvBench<\/a>, ….<\/p>\n Phase 4: Visualization of the Output. <\/strong>For this phase, we can use Graphviz<\/a>, Neo4j graph visualization<\/a>, as well as other graph visualization tools.<\/p>\n In general the meeting was a good experience in that after talking with ProvWG members, I feel like I have a more clear idea about the PBase project goals and how I am going to contribute to PBase project. I will be in contact with my mentors and other ProvWG members by attending ProvWG\u00a0weekly video conferencing meetings.\u00a0I left NY city on\u00a0Tuesday evening\u00a0with\u00a0a bad cold as a souvenir\u00a0but I was lucky enough not to miss my connecting flight to Sacramento after a delay in my flight from NY city.<\/p>\n For the second half on this week I was on a leave from PBase project to attend some events in San Jose.\u00a0I took an early train from Sacramento and directly headed toward Fairmont San Jose where USENIX WiAC’13<\/a>\u00a0<\/b>conference\u00a0was held. This is an annual conference with the main goal of discussing some of the challenges women face in the professional computing world, as well as, networking and sharing ideas.\u00a0On the rest of my stay in San Jose, I attended WISE<\/a> (a series of mentoring workshops and talks on privacy and security) at San Jose State University.<\/p>\n In addition, this week I tried to familiarize myself with Neo4j and Cypher<\/a> by going through some online tutorials\/sample queries.<\/p>\n Next week I am going to work on collecting some Wf traces, methods for translating those into\u00a0Neo4j format, and set up the development environment.<\/p>\n References.<\/strong><\/p>\n[MDB+13] Missier, Paolo, Saumen Dey, Khalid Belhajjame, Victor Cuevas-Vicenttin, and Bertram Ludaescher. “D-PROV: extending the PROV provenance model with workflow structure.” (2013).<\/p>\n[CFK+13] Chirigati, Fernando, Juliana Freire, David Koop, and Cl\u00e1udio Silva. “VisTrails provenance traces for benchmarking<\/a>.” In\u00a0Proceedings of the Joint EDBT\/ICDT 2013 Workshops<\/i>, pp. 323-324. ACM, 2013.<\/p>\n <\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" This week I attended ProvWG meeting at NYU-Poly. This was a two day meeting with the main focus on PBase and D-PPROV [MDB+13], a recent project going on in ProvWG that some of its ideas might be related to PBase project. D-PPROV is an extension to\u00a0W3C PROV\u00a0provenance model\u00a0aimed at representing Continue reading Week 2: ProvWG Meeting and Plans for Next Actions on PBase<\/span><\/a>
\n