Search Mailing List Archives
[bioontology-support] Need some information
mdorf at stanford.edu
Mon Jun 12 11:27:42 PDT 2017
The search service queries the term data based on the following sequence (in order of preference):
1. Match on the term id
2. Exact match on the prefLabel
3. Best match on the prefLabel
4. Exact match on one of the synonyms
5. Best match on one of the synonyms
6. Match on fields “cui” or “notation”.
We don’t match on definitions. There is a parameter that allows to narrow search results to those that include definitions (&require_definitions=true).
The exact code responsible for this logic is here:
Hope this helps!
On Jun 12, 2017, at 8:43 AM, Sara ArabYarmohammadi <s.yarmohammadi at icloud.com<mailto:s.yarmohammadi at icloud.com>> wrote:
I need to have some information how you are retrieving information on different term using class search.
I specifically need to know what is your logic for giving some terms as prefLabels/synonyms/definitions using search service on NCBO API?
bioontology-support mailing list
bioontology-support at lists.stanford.edu<mailto:bioontology-support at lists.stanford.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bioontology-support