Search Mailing List Archives
[bioontology-support] OR search using RESTful API
Sahni, Himanso * (FDA)
Himanso.Sahni at fda.hhs.gov
Thu Feb 7 05:47:01 PST 2013
Hi Trish,
I see the below defect was closed, will the fix be part of the upcoming bioportal release?
Himanso Sahni
Himanso.Sahni at fda.hhs.gov<mailto:Himanso.Sahni at fda.hhs.gov>
Contractor-Recombinant By Deloitte
HSahni at recomdata.com<mailto:HSahni at recomdata.com>
From: Trish Whetzel [mailto:whetzel at stanford.edu]
Sent: Wednesday, January 16, 2013 9:27 PM
To: Sahni, Himanso * (FDA)
Cc: support at bioontology.org
Subject: Re: [bioontology-support] OR search using RESTful API
There appears to be a bug when trying to use OR with the Search API as the results returned appear to be the same as when using AND. This issue is now reported: https://bmir-gforge.stanford.edu/gf/project/ncbo/tracker/?action=TrackerItemEdit&tracker_item_id=4391&start=0
I am still reviewing examples of NOT with the Search API.
Trish
On Jan 14, 2013, at 8:00 PM, Sahni, Himanso * (FDA) wrote:
Hello,
Can you please provide an example of using the OR or NOT operation as the current syntax at
http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Search_BioPortal
* Boolean Search Options:
* () parentheses allow to enclose multiple terms joined by OR
* Example: "(foo bar)" will expand to "foo* OR bar*"
* - the minus sign preceding a term indicates NOT
* Example: "foo bar -baz" will expand to "foo* AND bar* AND NOT baz*"
* No prefix means MUST (required).
does not work for me. If always return results of an AND operation between the 2 terms
rest.bioontology.org/bioportal/search/?query=<http://rest.bioontology.org/bioportal/search/?query=>(LEG ARM)&apikey=
rest.bioontology.org/bioportal/search/?query=LEG<http://rest.bioontology.org/bioportal/search/?query=LEG> -ARM&apikey=
rest.bioontology.org/bioportal/search/?query=LEG<http://rest.bioontology.org/bioportal/search/?query=LEG> ARM&apikey=
all return 260 results for where only both arm and leg are present
Himanso Sahni
Himanso.Sahni at fda.hhs.gov<mailto:Himanso.Sahni at fda.hhs.gov>
Contractor-Recombinant Data Corp.
HSahni at recomdata.com<mailto:HSahni at recomdata.com>
_______________________________________________
bioontology-support mailing list
bioontology-support at lists.stanford.edu<mailto:bioontology-support at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/bioontology-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20130207/225b8a13/attachment-0001.html>
More information about the bioontology-support
mailing list