{"id":890,"date":"2011-07-22T19:33:32","date_gmt":"2011-07-22T19:33:32","guid":{"rendered":"http:\/\/notebooks.dataone.org\/provenance-repository\/?p=85"},"modified":"2013-05-15T15:49:04","modified_gmt":"2013-05-15T15:49:04","slug":"weekly-update-2","status":"publish","type":"post","link":"https:\/\/notebooks.dataone.org\/provenance-toolkit\/weekly-update-2\/","title":{"rendered":"Weekly Update"},"content":{"rendered":"

This week I have been working on rewriting storage and retrieval in the Neoj4 database to make it easier to draw the graphs using Graphviz. It took much longer than expected because of problems I was having with Neo4j, but I have completed storage of a Run object (which represents the trace of a workflow run and contains invocations and their associated input\/output data) and retrieval of a Run object out of the database. Last week I was having problems with the storage, because after I stored all the invocations and data, I have to traverse the run to find initial inputs and final outputs of the run and create relationships to them from the run to make queries easier and much faster. I was having problems getting that traversal to work using Neo4j\u2019s traversal system and went on the Neo4j discussion boards to find answers. I never did get that traversal working in Neo4j so I ended up writing that one in java code that accesses my REST wrapper classes. All the other traversal\u2019s that I have tried have been successful so I would still say that Neo4j is simplifying queries, it just does not have sufficient documentation yet to make getting started easy if you want to run the Neo4j database as a server rather than in embedded mode. That problem is solved now though so I can move on to writing code for the queries that we want to execute on the database. I also got finding paths in the database working this week using Neo4j, so that should simplify queries which we are working on right now. Hopefully I have solved all the issues we are going to have with Neo4j and we will be able to ignore the little details of Neo4j from this point on.<\/p>\n

Thanks,
\nMichael Agun<\/p>\n

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

This week I have been working on rewriting storage and retrieval in the Neoj4 database to make it easier to draw the graphs using Graphviz. It took much longer than expected because of problems I was having with Neo4j, but I have completed storage of a Run object (which represents Continue reading Weekly Update<\/span>→<\/span><\/a><\/p>\n","protected":false},"author":23,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[112],"tags":[],"_links":{"self":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/890"}],"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\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/comments?post=890"}],"version-history":[{"count":1,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/890\/revisions"}],"predecessor-version":[{"id":895,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/890\/revisions\/895"}],"wp:attachment":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/media?parent=890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/categories?post=890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/tags?post=890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}