ncbo / bioportal-project

Serves to consolidate (in Zenhub) all public issues in BioPortal
BSD 2-Clause "Simplified" License
7 stars 5 forks source link

weird results with 1- or 2-letter words #206

Open graybeal opened 3 years ago

graybeal commented 3 years ago

In the ontology RCIT_A1, a few oddities can be seen with the terms 'segment 7', 'segment 6', and 'segment 4A'.

First, Segment 6 is fully annotated, but neither segment 4a nor segment 7 are, instead simply 'segment' is annotated. This is clearly not the longest term, though checking that box doesn't fix the issue. This may or may not be related to the order in which these terms appear in the suggestion list when you enter 'segment' into the Jump To box ('segment 6', 'Segment (…)', then the other two). It also could be related to whether 1- and 2-letter words get indexed. (The suggestion list order is not the same as the order in the original OWL file.)

The second issue is that if you type any of these in the Jump To box, and select that term, the tree will display with that term in it—but neither of the other two terms. (In other words, that part of the tree contains the term you wanted, but not the others.)