{"id":146,"date":"2015-02-25T18:50:52","date_gmt":"2015-02-26T01:50:52","guid":{"rendered":"http:\/\/www.paigemorgan.net\/visibleprices\/?p=146"},"modified":"2015-02-25T18:50:52","modified_gmt":"2015-02-26T01:50:52","slug":"february-2015-update-getting-started-with-brat","status":"publish","type":"post","link":"https:\/\/www.paigemorgan.net\/visibleprices\/february-2015-update-getting-started-with-brat\/","title":{"rendered":"February 2015 update: getting started with brat"},"content":{"rendered":"<p>Shortly after I wrote my last post here at the end of July, I was offered a post-doc at McMaster University, in the Sherman Centre for Digital Scholarship. Since then, I&#8217;ve started that position, and started working with <a title=\"Neolography: Jon Crump\" href=\"http:\/\/neolography.com\">Jon Crump<\/a>, with funding from the EADH.<\/p>\n<p>Here&#8217;s a tiny bit of\u00a0we&#8217;ve been up to so far:<\/p>\n<p>1. Working on some <a title=\"Sample Visible Prices data\" href=\"http:\/\/www.paigemorgan.net\/visibleprices\/wp-content\/uploads\/2015\/02\/dhoxss_paige_morgan_ontology_exercise.rtf\">sample data<\/a>, and marking it up in the <a title=\"brat rapid annotation tool\" href=\"http:\/\/brat.nlplab.org\">brat rapid annotation tool<\/a>. Brat allows me to identify portions of text from the quotations (which are my basic raw data, since I&#8217;m not going to be encoding whole texts) as RDF subjects and objects, and connect them with predicates. The subjects, objects, and predicates are customized for Visible Prices, rather than predefined. (If you&#8217;re new to this project, and new to linked open data\/RDF\/semantic web stuff, then you might find <a title=\"Visible Prices in Scalar: technical statement\" href=\"http:\/\/scalar.usc.edu\/works\/visible-prices\/visible-prices-technical-statement\">my Scalar technical statement <\/a>useful)<\/p>\n<p>Here&#8217;s what the annotation looks like, and how it&#8217;s progressing:<\/p>\n<p>This is the first pass, from a few weeks ago. Notice that while I&#8217;ve identified the specific object being sold, and the price, the rest of the quotation is just hanging out, unmarked. That means that we haven&#8217;t defined the relationship of the rest of that information (the extraordinary Efficacy, etc.) to the ontology that we&#8217;re building. But that was just the first pass.<\/p>\n<p><a href=\"http:\/\/www.paigemorgan.net\/visibleprices\/wp-content\/uploads\/2015\/02\/VP-Brat-shot-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-150 size-full\" src=\"http:\/\/www.paigemorgan.net\/visibleprices\/wp-content\/uploads\/2015\/02\/VP-Brat-shot-1.jpg\" alt=\"VP Brat shot 1\" width=\"1222\" height=\"169\" srcset=\"https:\/\/www.paigemorgan.net\/visibleprices\/wp-content\/uploads\/2015\/02\/VP-Brat-shot-1.jpg 1222w, https:\/\/www.paigemorgan.net\/visibleprices\/wp-content\/uploads\/2015\/02\/VP-Brat-shot-1-300x41.jpg 300w, https:\/\/www.paigemorgan.net\/visibleprices\/wp-content\/uploads\/2015\/02\/VP-Brat-shot-1-1024x142.jpg 1024w\" sizes=\"auto, (max-width: 1222px) 100vw, 1222px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Here&#8217;s a more recent update, with new markup by Jon. In this instance, we&#8217;ve got the whole quotation included (though to be fair, this is a simpler quotation than VP5 above.) Part of my homework is to go through and see about applying this to the other samples. Note: we may end up changing these subjects, objects, and predicates even further.<\/p>\n<p><a href=\"http:\/\/www.paigemorgan.net\/visibleprices\/wp-content\/uploads\/2015\/02\/VP-Brat-shot-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-152 size-full\" src=\"http:\/\/www.paigemorgan.net\/visibleprices\/wp-content\/uploads\/2015\/02\/VP-Brat-shot-2.jpg\" alt=\"VP Brat shot 2\" width=\"1219\" height=\"228\" srcset=\"https:\/\/www.paigemorgan.net\/visibleprices\/wp-content\/uploads\/2015\/02\/VP-Brat-shot-2.jpg 1219w, https:\/\/www.paigemorgan.net\/visibleprices\/wp-content\/uploads\/2015\/02\/VP-Brat-shot-2-300x56.jpg 300w, https:\/\/www.paigemorgan.net\/visibleprices\/wp-content\/uploads\/2015\/02\/VP-Brat-shot-2-1024x192.jpg 1024w\" sizes=\"auto, (max-width: 1219px) 100vw, 1219px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Brat seems like a great tool for this project so far. It&#8217;s easy to work with, and will export the annotation in RDF format. It&#8217;s also occurred to me that it could work well for crowdsourcing annotations, should I decide to make use of that in the future. (I might, but it won&#8217;t be in the immediate future. Maybe within a year, I think? I may crowdsource something else, however&#8230;).<\/p>\n<p>Besides\u00a0getting started with\u00a0brat, I now have my own <a title=\"Visible Prices github repository\" href=\"https:\/\/github.com\/paigecm\/visible-prices\">Github repository for this project<\/a>, which is very exciting, in part because I set it up myself using the command line, rather than a GUI. (I know my way around a command line, but I&#8217;m not too sophisticated to feel pleased when something works exactly as I wanted it to.) My facility with both the command line and with git is due in part to the tutorials at <a title=\"Team Treehouse\" href=\"http:\/\/teamtreehouse.com\">Team Treehouse<\/a>, which I&#8217;ve found to be a) useful, b) wide-ranging in what they cover, and c) packaged in small sections that mean that I can work on them when I have a spare few minutes.<\/p>\n<p>Jon&#8217;s done more than get me set up with brat, but I&#8217;m going to save that for another post, so that I can get into the habit of writing about this more regularly (and get back in the blogging habit generally.) So: more soon!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Shortly after I wrote my last post here at the end of July, I was offered a post-doc at McMaster University, in the Sherman Centre for Digital Scholarship. Since then, I&#8217;ve started that position, and started working with Jon Crump, with funding from the EADH. Here&#8217;s a tiny bit of\u00a0we&#8217;ve been up to so far: [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-146","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.paigemorgan.net\/visibleprices\/wp-json\/wp\/v2\/posts\/146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.paigemorgan.net\/visibleprices\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.paigemorgan.net\/visibleprices\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.paigemorgan.net\/visibleprices\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.paigemorgan.net\/visibleprices\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":4,"href":"https:\/\/www.paigemorgan.net\/visibleprices\/wp-json\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":154,"href":"https:\/\/www.paigemorgan.net\/visibleprices\/wp-json\/wp\/v2\/posts\/146\/revisions\/154"}],"wp:attachment":[{"href":"https:\/\/www.paigemorgan.net\/visibleprices\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.paigemorgan.net\/visibleprices\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.paigemorgan.net\/visibleprices\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}