Difference between revisions of "App/API/Ontology/analyze"
From mx Help Wiki
m |
m |
||
Line 1: | Line 1: | ||
− | <nowiki>http:</nowiki>//''base_url''/api/ontology/''' | + | <nowiki>http:</nowiki>//''base_url''/api/ontology/'''uri_markup'''/<text> |
== Description == | == Description == | ||
+ | |||
+ | <nowiki>http:</nowiki>//''base_url''/api/ontology/'''analyze'''/<text> | ||
== Response (JSON) == | == Response (JSON) == |
Revision as of 16:06, 14 February 2011
http://base_url/api/ontology/uri_markup/<text>
Description
http://base_url/api/ontology/analyze/<text>
Response (JSON)
CLASS_ID: [ { image: URI svg: svg } ... ]
Example
Request:
http://api.hymao.org/api/ontology/analyze/HAO_0000397
Response:
{ "statistics":{}, "text":"[head] longer than [metasoma]", "matches": { "head":{"HAO_0000397":"Deans, A. R. 2009. HAO curator.."}, "metasoma":{"HAO_0000626":"Miko, I. 2009. Curator. Hymenoptera Anatomy Ontology."} } }