Difference between revisions of "App/API/Ontology/analyze"
From mx Help Wiki
m |
m |
||
Line 21: | Line 21: | ||
Request: | Request: | ||
− | '''http://api.hymao.org/api/ontology/analyze/ | + | '''http://api.hymao.org/api/ontology/analyze/Head%20longer%20that%20metasoma''' |
Response: | Response: |
Revision as of 08:57, 21 February 2011
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/Head%20longer%20that%20metasoma
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."} } }