Difference between revisions of "App/API/Ontology/analyze"
From mx Help Wiki
m |
m |
||
Line 27: | Line 27: | ||
"statistics":{}, | "statistics":{}, | ||
"text":"[head] longer than [metasoma]", | "text":"[head] longer than [metasoma]", | ||
− | " | + | "matches": |
{ | { | ||
"head":{"HAO_0000397":"Deans, A. R. 2009. HAO curator.."}, | "head":{"HAO_0000397":"Deans, A. R. 2009. HAO curator.."}, |
Revision as of 13:14, 14 February 2011
http://base_url/api/ontology/analyze/<text>
Description
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."} } }