{"id":3051,"date":"2017-07-07T21:24:13","date_gmt":"2017-07-07T21:24:13","guid":{"rendered":"https:\/\/notebooks.dataone.org\/?p=3051"},"modified":"2017-07-07T21:24:29","modified_gmt":"2017-07-07T21:24:29","slug":"week-5","status":"publish","type":"post","link":"https:\/\/notebooks.dataone.org\/semantic-annotation\/week-5\/","title":{"rendered":"Week 5: Markdown-based Semantic Annotation of Workflow Scripts – Project 1"},"content":{"rendered":"

Week 5 – Update<\/p>\n

Hello everyone, this is Xiaoliang Jiang from project 1. This is the fifth week for my internship. For this week, I made some changes on my existing functions, including created a new function to generate associations between entities, revised the RDF structure and modified logic structure in my scripts. I also reviewed some useful materials about how to create a better UI and annotations in R codes for users.<\/p>\n

One of the most important things I made this week is revising my existing functions. After I uploaded my prototype functions on Github, my mentors tested it at the beginning of this week. In general, the mentors satisfied my working, however, they also provided me some suggestions about how to improve it. For example, originally, I use entities name to generate the RDF file which is not formal enough. And now I use entities\u2019 ID to generate RDF file instead of their names, and added one more line to each entity to represent their titles.<\/p>\n

More importantly, my prototype functions need users to type in properties manually to generate associations which is not user friendly, especially for some users who are not experts of semantic workflow. Therefore, I made some changes on existing code and tried my best to generating the properties automatically, since both of my mentors and I think it is not good enough. Originally, my functions use some manual inputs, like \u201cproperties=values\u201d to generate the association. And now, I modified my function\u2019s logic to generate the association between entities automatically by using the classes of parent entity and child entity. In this part, the functions could understand whether this is an \u201cone way association\u201d or a \u201ctwo ways association\u201d and build different relationship to these different association. At last, another graph function will capture these properties to generate RDF diagram automatically. However, I only added a few logic judgements into my function for testing, I will add more in the future.<\/p>\n

In addition, in order to create a better UI for the R extension to let users learn how to use it easily, I have contacted with the author of \u201cstrcode\u201d package and started to review some useful materials about creating UI in R studio. I reviewed some tutorial about \u201cshinny developer\u201d and got a better understanding about how to revise existing UI.<\/p>\n

I also learnt a lot from some slides provided by my mentors about JSON-LD. I think I could try to revise headers of \u201cinserted breaks\u201d in JSON-LD style in the next week.<\/p>\n","protected":false},"excerpt":{"rendered":"

Week 5 – Update Hello everyone, this is Xiaoliang Jiang from project 1. This is the fifth week for my internship. For this week, I made some changes on my existing functions, including created a new function to generate associations between entities, revised the RDF structure and modified logic structure Continue reading Week 5: Markdown-based Semantic Annotation of Workflow Scripts – Project 1<\/span>→<\/span><\/a><\/p>\n","protected":false},"author":111,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[372],"tags":[],"_links":{"self":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/3051"}],"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\/111"}],"replies":[{"embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/comments?post=3051"}],"version-history":[{"count":1,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/3051\/revisions"}],"predecessor-version":[{"id":3052,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/3051\/revisions\/3052"}],"wp:attachment":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/media?parent=3051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/categories?post=3051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/tags?post=3051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}