<div dir="ltr">Hi Ray,<div><br></div><div>Thanks for the response. If retrieving classes by their fragment is possible when you include all properties, then I'm still confused why my REST calls are turning up empty. For example, when I send this call</div><div><br></div><div><a href="http://data.bioontology.org/search?q=OPB_01023&ontologies=OPB&include=prefLabel,synonym,definition,notation,cui,semanticType,properties&apikey=c4192e4b-88a8-4002-ad08-b4636c88df1a">http://data.bioontology.org/search?q=OPB_01023&ontologies=OPB&include=prefLabel,synonym,definition,notation,cui,semanticType,properties&apikey=c4192e4b-88a8-4002-ad08-b4636c88df1a</a><br></div><div><br></div><div>I get the following JSON response:</div><div><br></div><div><div>{</div><div>"page": 1,</div><div>"pageCount": 0,</div><div>"prevPage": null,</div><div>"nextPage": null,</div><div>-"links": {</div><div>"nextPage": "<a href="http://data.bioontology.org/search?q=OPB_01023&ontologies=OPB&include=prefLabel%2Csynonym%2Cdefinition%2Cnotation%2Ccui%2CsemanticType%2Cproperties&apikey=c4192e4b-88a8-4002-ad08-b4636c88df1a&display=prefLabel%2Csynonym%2Cdefinition%2Cnotation%2Ccui%2CsemanticType%2Cproperties&page=2">http://data.bioontology.org/search?q=OPB_01023&ontologies=OPB&include=prefLabel%2Csynonym%2Cdefinition%2Cnotation%2Ccui%2CsemanticType%2Cproperties&apikey=c4192e4b-88a8-4002-ad08-b4636c88df1a&display=prefLabel%2Csynonym%2Cdefinition%2Cnotation%2Ccui%2CsemanticType%2Cproperties&page=2</a>",</div><div>"prevPage": null</div><div>},</div><div>"collection": [ ]</div><div>}</div></div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>Many thanks,</div><div><br></div><div>M</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 25, 2015 at 6:17 PM, Ray Fergerson <span dir="ltr"><<a href="mailto:rayferg@stanford.edu" target="_blank">rayferg@stanford.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If you search for:
</span><span style="font-size:9.0pt;font-family:"Lucida Sans Unicode","sans-serif";color:#666699;background:white">OPB:OPB_00528 and include all properties, this class is found. We don’t distinguish punctuation in search and thus the “word” available to the
 search index is the entire string.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Lucida Sans Unicode","sans-serif";color:#666699;background:white"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Lucida Sans Unicode","sans-serif";color:#666699;background:white">Ray</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><a name="1500697563124834__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></a></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> bioontology-support [mailto:<a href="mailto:bioontology-support-bounces@lists.stanford.edu" target="_blank">bioontology-support-bounces@lists.stanford.edu</a>]
<b>On Behalf Of </b><a href="mailto:support@bioontology.org" target="_blank">support@bioontology.org</a><br>
<b>Sent:</b> Thursday, September 24, 2015 8:04 PM<br>
<b>To:</b> <a href="mailto:support@bioontology.org" target="_blank">support@bioontology.org</a>; <a href="mailto:mneal@uw.edu" target="_blank">mneal@uw.edu</a><br>
<b>Subject:</b> [bioontology-support] [BioPortal] Feedback from Maxwell Neal<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p>Name: Maxwell Neal <u></u><u></u></p>
<p>Email: <a href="mailto:mneal@uw.edu" target="_blank">mneal@uw.edu</a> <u></u><u></u></p>
<p>Location: <a href="http://bioportal.bioontology.org/" target="_blank">http://bioportal.bioontology.org/</a>
<u></u><u></u></p>
<p><br>
<strong>Feedback:</strong> <u></u><u></u></p>
<p>Hello,<u></u><u></u></p>
<p>I am using the BioPortal REST API to perform searches over classes in specific ontologies and I've found that searches using the fragment of class URIs don't return the class. For example, if I search for OPB_01023, I do not get any results, even though
 OPB:OPB_01023 is an existing class URI in the Ontology of Physics for Biology. I've tried to use all the different available values in the "include" parameter to no avail. Is it possible to retrieve classes using URI fragments with the REST search function?<u></u><u></u></p>
<p>Many thanks,<u></u><u></u></p>
<p>Max <u></u><u></u></p>
</div></div></div>
</div>

</blockquote></div><br></div>