{"id":994,"date":"2012-07-24T19:50:16","date_gmt":"2012-07-24T19:50:16","guid":{"rendered":"http:\/\/notebooks.dataone.org\/querying-provenance\/?p=48"},"modified":"2013-05-15T16:41:35","modified_gmt":"2013-05-15T16:41:35","slug":"week-6-report","status":"publish","type":"post","link":"https:\/\/notebooks.dataone.org\/workflow-provenance\/week-6-report\/","title":{"rendered":"Week 6 report"},"content":{"rendered":"

Hi All,<\/p>\n

Last week, we start with a Postgres based system to implement RPQ queries. This week, we are trying to apply it to an example. So Yaxing, one of our group member, provided couple of conceptual workflows to query. They are from the actual “scientific” world, we pick the example 3: model driver processing, as a start point. In order to\u00a0encode the information in a uniformed way, we choose to use Json (since xml is a little “fat” on size). Then we use a Python module to\u00a0serialize\u00a0the json file and convert into csv file in order to feed into our system.<\/p>\n

Yaxing provided couple of queries he want to ask. I think the most interesting one is “if there is a new version of GPCP data, what process steps need to be rerun and who shall be notified to do the rerun?”. The corresponding RPQ to the first one is “Query.reference.(used.wasGeneratedBy)*\u00a0(After adding self loop to GPCP)”. We are able to show the result highlighted in the original graph as a output of the system.<\/wbr><\/p>\n

Also couple of improvement of the output graph. With the help of different kinds of labels, we can distinguish different type of nodes with colors and \u00a0get a nicer layout.<\/p>\n

Next week, we’ll focus on implementing RPQ in Datalog, possibly\u00a0CRPQ (conjunctive RPQ). The queries Yaxing provided seems quite trivial, we’ll come up with some more challenge queries.<\/p>\n

Best,
\nTianhong<\/p>\n","protected":false},"excerpt":{"rendered":"

Hi All, Last week, we start with a Postgres based system to implement RPQ queries. This week, we are trying to apply it to an example. So Yaxing, one of our group member, provided couple of conceptual workflows to query. They are from the actual “scientific” world, we pick the Continue reading Week 6 report<\/span>→<\/span><\/a><\/p>\n","protected":false},"author":31,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[],"_links":{"self":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/994"}],"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\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/comments?post=994"}],"version-history":[{"count":1,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/994\/revisions"}],"predecessor-version":[{"id":999,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/994\/revisions\/999"}],"wp:attachment":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/media?parent=994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/categories?post=994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/tags?post=994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}