Search Mailing List Archives
[bioontology-support] OR search using RESTful API
Trish Whetzel
whetzel at stanford.edu
Thu Feb 7 06:39:28 PST 2013
Yes, the ticket referenced below was included in the release that went out this week. Are you on the "announce" mailing list [1]? This is a very low volume list where we post the release announcements.
Trish
[1] https://mailman.stanford.edu/mailman/listinfo/bioportal-announce
On Feb 7, 2013, at 8:47 AM, Sahni, Himanso * (FDA) wrote:
> 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
> Contractor-Recombinant By Deloitte
> 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=(LEG ARM)&apikey=
> rest.bioontology.org/bioportal/search/?query=LEG -ARM&apikey=
> 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
> Contractor-Recombinant Data Corp.
> HSahni at recomdata.com
>
>
>
> _______________________________________________
> bioontology-support mailing list
> 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/5be461df/attachment.html>
More information about the bioontology-support
mailing list