{"id":2741,"date":"2014-07-30T14:57:06","date_gmt":"2014-07-30T18:57:06","guid":{"rendered":"http:\/\/fgiasson.com\/blog\/?p=2741"},"modified":"2014-07-30T14:57:06","modified_gmt":"2014-07-30T18:57:06","slug":"umbel-new-shortest-path-web-service-tag-web-documents","status":"publish","type":"post","link":"https:\/\/fgiasson.com\/blog\/index.php\/2014\/07\/30\/umbel-new-shortest-path-web-service-tag-web-documents\/","title":{"rendered":"UMBEL: New Shortest Path Web Service &#038; Tag Web Documents"},"content":{"rendered":"<table>\n<tbody>\n<tr>\n<td>We just released a new <a href=\"http:\/\/umbel.org\">UMBEL<\/a> ontology graph analysis web service endpoint: the <a href=\"http:\/\/umbel.org\/web-services\/shortest-path\/\">Shortest Path web service endpoint<\/a>.<\/td>\n<td><a href=\"https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2008\/10\/umbel_ws.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-916\" src=\"https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2008\/10\/umbel_ws.png\" alt=\"umbel_ws\" width=\"170\" height=\"74\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The <code>Shortest Path<\/code> Web service is used to get the shortest path between two UMBEL reference concepts by following the path of a transitive property. The concepts that belong to that path will be returned by the server.<\/p>\n<p>This web service is similar to the <code><a href=\"http:\/\/umbel.org\/web-services\/degree\/\">degree<\/a><\/code> web service endpoint but the actual path is shown. This web service is (marginally more useful) than <code><a href=\"http:\/\/umbel.org\/web-services\/degree\/\">degree<\/a><\/code>. So if you don&#8217;t need to know the actual concepts that participate in the shortest path between two concepts, then you should be using the <code><a href=\"http:\/\/umbel.org\/web-services\/degree\/\">degree<\/a><\/code> web service endpoint instead.<\/p>\n<p>The graph created by the UMBEL reference concepts ontology is a mostly an directed acyclic graph (DAG). This means that a given pair of concepts is not necessarily linked via all the properties. In these cases, the shortest path returns an error message rather than the path concepts.<\/p>\n<h3>Intended Users<\/h3>\n<p>This new web service endpoint is intended for users that want to perform graph\/network analysis tasks on the UMBEL web service endpoint.<\/p>\n<h3><span id=\"The-Web-Service-Endpoint\">The Web Service Endpoint<\/span><\/h3>\n<p>The <a href=\"http:\/\/umbel.org\/web-services\/shortest-path\/\">web service endpoint<\/a> is freely available. It can return its resultset in JSON or in <a href=\"https:\/\/github.com\/edn-format\/edn\">EDN<\/a> (Extensible Data Notation).<\/p>\n<p>This endpoint will return a vector (so the order of the results is important) of concepts that participate into the shortest path. For each concept, its URI and preferred label are returned.<\/p>\n<h3><span id=\"The-Online-Tool\">The Online Tool<\/span><\/h3>\n<p>We also provide an <a href=\"http:\/\/umbel.org\/tools\/shortest-path\/\">online shortest path tool<\/a> that people can use to experience interacting with the web service.<\/p>\n<p>The user first needs to select the two concepts for which he wants to find the shortest path between the two. Then he has to select the transitive property he want to use to find the path.<\/p>\n<p>Once the user clicks the <code>Get Shortest Path<\/code> button, he will get list of concepts, and the order, that compose the path.<\/p>\n<p>If no path exists between the two concepts for the selected property, an error message is displayed to the user.<\/p>\n<p><center><br \/>\n<a href=\"https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/shortest-path-ui.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-2745\" src=\"https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/shortest-path-ui-300x219.png\" alt=\"shortest-path-ui\" width=\"300\" height=\"219\" srcset=\"https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/shortest-path-ui-300x219.png 300w, https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/shortest-path-ui-1024x747.png 1024w, https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/shortest-path-ui-900x657.png 900w, https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/shortest-path-ui.png 1320w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/center><\/p>\n<h3>Tagging Web Documents with the UMBEL Taggers<\/h3>\n<p>Another improvement included with this release is the enhancement of the UMBEL taggers<sup class='footnote'><a href='#fn-2741-1' id='fnref-2741-1' onclick='return fdfootnote_show(2741)'>1<\/a><\/sup><sup class='footnote'><a href='#fn-2741-2' id='fnref-2741-2' onclick='return fdfootnote_show(2741)'>2<\/a><\/sup>. It is now possible to tag any document accessible on the Web. The only thing you have to do is to provide a URL where the tagger will find the document to download and tag.<\/p>\n<p>The <a href=\"http:\/\/umbel.org\/tools\/tagger\/concept\/plain\/\">user interface<\/a> for the taggers also was modified to expose this new functionality. You now have the choice to give a text or a URL as input to the endpoints:<\/p>\n<p><center><br \/>\n<a href=\"https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/new-tagging-ui.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2748 size-medium\" src=\"https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/new-tagging-ui-300x174.png\" alt=\"new-tagging-ui\" width=\"300\" height=\"174\" srcset=\"https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/new-tagging-ui-300x174.png 300w, https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/new-tagging-ui-1024x596.png 1024w, https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/new-tagging-ui-900x524.png 900w, https:\/\/fgiasson.com\/blog\/wp-content\/uploads\/2014\/07\/new-tagging-ui.png 1447w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/center><\/p>\n<div class='footnotes' id='footnotes-2741'>\n<div class='footnotedivider'><\/div>\n<ol>\n<li id='fn-2741-1'> <a href=\"http:\/\/umbel.org\/web-services\/tagger-concept-plain\/\">Concept Tagger (plain)<\/a> <span class='footnotereverse'><a href='#fnref-2741-1'>&#8617;<\/a><\/span><\/li>\n<li id='fn-2741-2'> <a href=\"http:\/\/umbel.org\/web-services\/tagger-concept-noun\/\">Concept Tagger (noun)<\/a> <span class='footnotereverse'><a href='#fnref-2741-2'>&#8617;<\/a><\/span><\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>We just released a new UMBEL ontology graph analysis web service endpoint: the Shortest Path web service endpoint. The Shortest Path Web service is used to get the shortest path between two UMBEL reference concepts by following the path of a transitive property. The concepts that belong to that path will be returned by the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[84,153,148],"tags":[265,160,168,238],"class_list":["post-2741","post","type-post","status-publish","format-standard","hentry","category-semantic-web","category-structured-dynamics","category-umbel","tag-graph","tag-ontology","tag-umbel-2","tag-webservices"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=2741"}],"version-history":[{"count":9,"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2741\/revisions"}],"predecessor-version":[{"id":2752,"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2741\/revisions\/2752"}],"wp:attachment":[{"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=2741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=2741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=2741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}