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 server.
This web service is similar to the degree
web service endpoint but the actual path is shown. This web service is (marginally more useful) than degree
. So if you don’t need to know the actual concepts that participate in the shortest path between two concepts, then you should be using the degree
web service endpoint instead.
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.
Intended Users
This new web service endpoint is intended for users that want to perform graph/network analysis tasks on the UMBEL web service endpoint.
The Web Service Endpoint
The web service endpoint is freely available. It can return its resultset in JSON or in EDN (Extensible Data Notation).
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.
The Online Tool
We also provide an online shortest path tool that people can use to experience interacting with the web service.
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.
Once the user clicks the Get Shortest Path
button, he will get list of concepts, and the order, that compose the path.
If no path exists between the two concepts for the selected property, an error message is displayed to the user.
Tagging Web Documents with the UMBEL Taggers
Another improvement included with this release is the enhancement of the UMBEL taggers12. 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.
The user interface 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: