Search Mailing List Archives
[bioontology-support] New rest API
Phillips, Lori C.
LCPHILLIPS at PARTNERS.ORG
Wed Dec 11 06:49:35 PST 2013
I use bioportal to extract terms for a given ontology. I need to know term names, ids and relationships such as parent ids.
I plan to use something analogous to this: http://data.bioontology.org/ontologies/RXNORM/classes and page through the data.
I am looking at the new interface... I can handle format changes.. but have a few questions about the data being returned.
In the past we had <id> and <fullId>.
Looks like the new interface uses the old fullId as the new <id>
I can parse out the info I need
<id>http://purl.bioontology.org/ontology/RXNORM/706898</id<http://purl.bioontology.org/ontology/RXNORM/706898%3c/id>> would become id = 706898.
But I need to know if all the ontologies follow this format.
2. For each term I need to know its parent.
In the past I extracted this info from the <relation><entry> lists.
Now it looks like I have to follow a link to get this info? I've tried that and I seem to end up with an orphanClass.
Page 1 of RXNORM gives me Fentanyl as the first term.
Which has :
When I go to this page I get:
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bioontology-support