App/API/Ontology/label

From mx Help Wiki
Revision as of 16:15, 4 March 2011 by Matt (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to ontology API home

Description

http://base_url/api/ontology/label/<text>

Returns ontology classes tied to the provided label, and the reference that links the two.

Response (JSON)

label:
  CLASS_ID: citation
  ...
  

Example

Request:

http://api.hymao.org/api/ontology/label/head

Response:

 {
  "head":
         {"http://purl.obolibrary.org/obo/HAO_0000397":"Deans, A. R. 2009. HAO curator.."}
 }
Personal tools