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] API request: add list of properties to search, fragment search

Ray Fergerson rayferg at
Wed Sep 23 16:13:04 PDT 2015

I believe that we already support what you need. The cui and notation (notation is typically the last path element on an id) fields are included in a basic search. You can search on the full ids as well from the API but you need to URL Encode the id. If you list the properties you want as just “prefName,cui,notation” you will just get these fields. There is less control over user defined fields but it doesn’t appear you need this.

If you specify an “exact match” then you will not get the default “starts with” behavior. This should work to distinguish C0123 from C012.


From: bioontology-support [mailto:bioontology-support-bounces at] On Behalf Of Halle, Michael Wilfred,Ph.D.
Sent: Wednesday, September 23, 2015 9:36 AM
To: support at
Subject: [bioontology-support] API request: add list of properties to search, fragment search

Dear NCBO team,

I am building a tool to convert back and forth between prefLabels and URIs/CUIs in specific ontologies using the REST API. The forward mapping is straightforward; the reverse seems harder.

Right now, I have to search all properties to get this result, and it is imperfect at best for CUIs or other ontology-unique identifiers.

I would like to be able to search only specific properties (say, from a list). That way, I could avoid some false matches.

It would also be great to be able to, effectively, match against the fragment of the URI, since the URI base is typically constant for a particular ontology. I can do a non-exact match on all properties, but I risk getting C0123 when I want just C012. A regexp style search could do this as well (I could search for #C012$)

Could you consider adding this functionality to the API?

-Mike Halle

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 . 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...
URL: <>

More information about the bioontology-support mailing list