Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] obtaining path to root for specific ontology ID using API

Clement Jonquet jonquet at lirmm.fr
Sat Dec 12 07:00:09 PST 2015


Hi Coen,

 

Just query the /classes/URI/ancestors service:

 

 
<http://data.bioontology.org/ontologies/MEDDRA/classes/http%3A%2F%2Fpurl.bio
ontology.org%2Fontology%2FMEDDRA%2F10063081/ancestors?display_context=false&
display_links=false>
http://data.bioontology.org/ontologies/MEDDRA/classes/http%3A%2F%2Fpurl.bioo
ntology.org%2Fontology%2FMEDDRA%2F10063081/ancestors?display_context=false&d
isplay_links=false

 

Bye

Clement

 

 

De : bioontology-support
[mailto:bioontology-support-bounces at lists.stanford.edu] De la part de
Hasselt, J.G.C. van
Envoyé : vendredi 11 décembre 2015 15:50
À : bioontology-support at lists.stanford.edu
Objet : [bioontology-support] obtaining path to root for specific ontology
ID using API

 

Hello,

 

Through the API, I want to obtain the full path to the root for many
conditions of interest.  Using the example for R on the API documentation, I
obtained already all the MEDDRA ontology IDs from the bioontology.org
website.

 

However, now I am completely stuck in what kind of query I should use to
obtain a JSON page that contains the “tree” for the condition (back to
root). For example, for the ID
http://purl.bioontology.org/ontology/MEDDRA/10063081 (Acute left ventricular
failure) I want to obtain the path to root:  Acute left ventricular failure
--> Left ventricular failure --> Heart failure --> Cardiac disorders.

 

I would greatly appreciate it if you can give me some points on what kind of
query I should use to obtain a JSON page that contains this path to root.

 

Thanks in advance, 

 

Coen 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20151212/412b9c71/attachment.html>


More information about the bioontology-support mailing list