-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multilingual support: jump_to box doesn't work as expected for ontologies which set English as a single naturalLanguage #335
Comments
Do you have the error logs? |
Some additional detail: Search entries are below. They DO NOT include the When searching for https://data.bioontology.org/search?q=energy&ontologies=D3O&lang=en However, when using classes endpoints with |
@syphax-bouazzouni, since the ontology specifically ads "English" as a language, shouldn't we expect to see the "XXX_en" attributes in the index for D3O? |
More details: Here is a sample term declaration in the OWL file (D3O.owl):
As seen below, it defines a label (lang=en) and definition (lang=en). But the the prefLabel is defined as:
WHY? I would expect:
Below, is the corresponding Class instance in ontologies_linked_data:
|
Good point. We should have seen this. Our driving use cases were very much "SKOS" so we missed it. |
jump_to search box doesn't show results for single language ontologies which set English as the naturalLanguage. Unsetting English fixes the issue.
The text was updated successfully, but these errors were encountered: