{"id":2914,"date":"2017-06-02T15:12:52","date_gmt":"2017-06-02T15:12:52","guid":{"rendered":"https:\/\/notebooks.dataone.org\/?p=2914"},"modified":"2017-06-02T15:12:52","modified_gmt":"2017-06-02T15:12:52","slug":"week-2-update-2","status":"publish","type":"post","link":"https:\/\/notebooks.dataone.org\/prov-queries\/week-2-update-2\/","title":{"rendered":"Week-2-Update"},"content":{"rendered":"

During the second week, Linh and I dug into RDF\/Turtle format and SPARQL syntax for testing the existing incomplete Turtle file (refer to Prefix rdf, rdfs, provone, owl and self-defined yw) and relevant queries. I successfully installed Apahe-Jena on my Windows machine and tested the five existing simple SPARQL queries using arq command. When taking a close look at the Turtle file, I found some syntax and semantic errors, such as inconsistent names and incomplete ports descriptions. Then I manually corrected those errors based on my perception. With the updated version of Turtle file, I translated most existing xsb queries into SPARQL queries and ran the queries in Apache-Jena as well. Simultaneously, Linh did the translation and testing work using Virtuoso on her laptop. During the translation work, I felt that aggregation related queries are harder to be written in SPARQL than written in Datalog\/Prolog or SQL.<\/p>\n

Besides, I installed msys2 on Windows 10 to execute make command and to test the yw-prototypes tool again. Although some problems still could not be fixed, I learned about another method to utilize Linux-like terminal environment on Windows machine. Moreover, I further explored the ProvONE data model, especially for the Workflow Representation part. Then, I reviewed the Prolog\/Datalog model and recon facts in details and summarized all the structures, comparing with the RDF semantic structure in the temporal Turtle file.<\/p>\n

For the following weeks, I am going to read some papers about the expressive power and limitation of SPARQL language, comparing with my experience when doing the translation work. Additionally, I will set about improving the Turtle file based on the needs of SPARQL queries and ProvONE data model.<\/p>\n

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

During the second week, Linh and I dug into RDF\/Turtle format and SPARQL syntax for testing the existing incomplete Turtle file (refer to Prefix rdf, rdfs, provone, owl and self-defined yw) and relevant queries. I successfully installed Apahe-Jena on my Windows machine and tested the five existing simple SPARQL queries Continue reading Week-2-Update<\/span>→<\/span><\/a><\/p>\n","protected":false},"author":107,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[374],"tags":[],"_links":{"self":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/2914"}],"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\/107"}],"replies":[{"embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/comments?post=2914"}],"version-history":[{"count":1,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/2914\/revisions"}],"predecessor-version":[{"id":2915,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/2914\/revisions\/2915"}],"wp:attachment":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/media?parent=2914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/categories?post=2914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/tags?post=2914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}