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] *bump* subtree search in the new API

Ray Fergerson ray.fergerson at
Thu Oct 24 14:35:02 PDT 2013

Sorry for not getting back to you. Yes, search in subtree is not
implemented in the new API. It should be. I have created a tracker item
for it. Note that, if you are in a real hurry, you can roll your own with
something like:


Search for <string>

Foreach <returned class>

                If class.get_ancestors().contains(subtree_root)

                                Do something


This is essentially our internal algorithm as well.





From: bioontology-support-bounces at
[mailto:bioontology-support-bounces at] On Behalf Of Lee M
Sent: Thursday, October 24, 2013 11:55 AM
To: support
Subject: [bioontology-support] *bump* subtree search in the new API


Any chance someone could look into this?

----- Forwarded by Lee M Surprenant/Raleigh/IBM on 10/24/2013 02:50 PM

From: Lee M Surprenant/Raleigh/IBM
To: support <support at>
Date: 10/17/2013 04:02 AM
Subject: subtree search in the new API


Does the new REST API support subtree search?

For instance, the v1 API supported it via subtreerootconceptid parameter
(when used with a single ontologyids value):

A potential substitute for subtree search for me would be the ability to
scope/filter a search by 'semantic type' but I couldn't figure that out

In fact, I can't even get the search to include the semantic type in the
results.  For this information I must make a separate API call per search

The documentation didn't make it clear if the 'Common Parameters' were
intended to work with search/annotator/resourceIndex endpoints or just the
resources themselves.  I assume the latter because using the 'include'
parameter on the search endpoint caused an "Internal Server Error":


Lee Surprenant
IBM Emerging Technologies | jStart Team

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bioontology-support mailing list