{"id":2964,"date":"2017-06-16T20:41:08","date_gmt":"2017-06-16T20:41:08","guid":{"rendered":"https:\/\/notebooks.dataone.org\/?p=2964"},"modified":"2017-06-23T21:07:25","modified_gmt":"2017-06-23T21:07:25","slug":"week-2-update-4","status":"publish","type":"post","link":"https:\/\/notebooks.dataone.org\/semantic-annotation\/week-2-update-4\/","title":{"rendered":"Week 2 – Update"},"content":{"rendered":"

This is second week for my internship. After I reviewed some useful materials last week, I have a better understanding about my project. According to the 9-week schedule, week 2-3 are mainly focus on design and planning the solution for project in detail, which including sketch out some possible ways to achieve the goals.<\/p>\n

So I started to discover possible solutions for my project by learning how to create a R extension. As the final goal is trying to publish RDF in Rstudio, an R extension(or Rstudio extension) should be one of the possible ways. However, after I browsed the official website for creating R extension, I found that creating a brand new R package start from scratch is quite trivial\u00a0for\u00a0a 9-week project. In addition, extending R core is not the same as extending RStudio. So after discussed with my mentor, I decided to base on the existed R extension \u201cstrcode\u201d to create the semantic markdown extension for my project.<\/p>\n

Based on the \u201cstrcode\u201d, I forked the semantics branch on Github and understood the logic of the scripts. I made some changes on this package which could let it automatically create break lines in R scripts which contain ProvONE names in it by using the \u201cinsert code break\u201d function in \u201cstrcode\u201d. After I have a better understanding of the \u201cstrcode\u201d and ProvONE, I think I could change it by myself, and add more useful functions into this extension.<\/p>\n

For the next week, I will try to get a better understanding of ProvONE, and try to improve the semantics in my scripts. In addition, as feasibility is another very important thing I need to pay attention, I will also think about how to summarize the semantics in these code and how to output them as RDF. Moreover, I will also try to find some alternative solutions besides R extension if it is possible.<\/p>\n","protected":false},"excerpt":{"rendered":"

This is second week for my internship. After I reviewed some useful materials last week, I have a better understanding about my project. According to the 9-week schedule, week 2-3 are mainly focus on design and planning the solution for project in detail, which including sketch out some possible ways Continue reading Week 2 – Update<\/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\/2964"}],"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=2964"}],"version-history":[{"count":3,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/2964\/revisions"}],"predecessor-version":[{"id":3001,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/2964\/revisions\/3001"}],"wp:attachment":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/media?parent=2964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/categories?post=2964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/tags?post=2964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}