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

Week 6 – Update<\/span><\/p>\n

Hello everyone, this Xiaoliang Jiang from project 1. This is the sixth week for my internship. For this week, I kept trying to made some changes on my existing functions, including tried a new structure of my inserted breaks, revised user interface, and modified my function logic. At the end of this week, my mentors also joined a meeting with professor Lud\u00e4scher to discuss my project with him.<\/span><\/p>\n

From two-weeks ago, when I generate my first prototype RDF output file, my mentor and I were thinking a new way to create the breaks which could let users understand it easily. My mentor provided me a suggestion that using JSON-LD style structure to create the breaks, which could let the inserted breaks become more meaningful. Therefore, based on this idea, I tried to change the basic level of my function to change this breaks style. When I tried to modify it, I was stuck in a structure problem that the function always keep the title and classes of breaks in a pair of parentheses, but after I tried several different ideas, finally I solved it and generate a JSON-LD breaks successfully.<\/span><\/p>\n

After that, I decided to add this function into existing UI to let users choose the type they want to generate between default style and JSON-LD style. But due to my limited understanding about \u201cshiny\u201d package which is the mainly tool created the existing UI, I failed to add a checkbox into the UI as I want. So, I tried to email Lorenz who is the author of \u201cstrcode\u201d to get some help. Lorenz is a very nice person who not only provided me several useful tutorials about \u201cshiny\u201d, but also taught me how to change the user interface in detail. Thanks to his assistance, finally I revised existing UI and test its function successfully.<\/span><\/p>\n

In this morning, my mentor and I join a meeting with professor Lud\u00e4scher who is an expert on scientific workflow in our school. My mentor and I introduced our project with him and his team, and we also discussed a lot about the relationship between my project and their YesWorkflow project. I learnt a lot and got some new ideas from this meeting.<\/span><\/p>\n

For the next week, I think I have a lot of things to do: Firstly, I need to make some change on the manually input function (properties=values, the “key-value” pairs) to let it serves as a supplement of automatically generated association. Secondly, I need to add a function to generate RDF file (and graph) with JSON-LD style breaks. As I just added this style into my function yesterday, I did not let it works well in generating outputs. Thirdly. I need to think about how to generate an RDF file in JSON-LD style by using JSON-LD breaks. As they are similar, I think it would not be too difficult. Finally, I should think about rebuild the logic structure of my functions to meet the need of further revising.<\/span><\/p>\n

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

Week 6 – Update Hello everyone, this Xiaoliang Jiang from project 1. This is the sixth week for my internship. For this week, I kept trying to made some changes on my existing functions, including tried a new structure of my inserted breaks, revised user interface, and modified my function Continue reading Week 6: 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\/3062"}],"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=3062"}],"version-history":[{"count":1,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/3062\/revisions"}],"predecessor-version":[{"id":3063,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/3062\/revisions\/3063"}],"wp:attachment":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/media?parent=3062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/categories?post=3062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/tags?post=3062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}