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] OR search using RESTful API

Sahni, Himanso * (FDA) Himanso.Sahni at fda.hhs.gov
Mon Jan 14 20:00:25 PST 2013


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<mailto:Himanso.Sahni at fda.hhs.gov>
Contractor-Recombinant Data Corp.
HSahni at recomdata.com<mailto:HSahni at recomdata.com>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20130115/479f825d/attachment.html>


More information about the bioontology-support mailing list