Originally reported by Martin on the Musen Lab Slack workspace: https://musenlab.slack.com/archives/C010EAWS60J/p1697495995716159.
The ENVTHES SKOS-format ontology has a class with an English lexical label of "amphibians". Accessible via this REST call:
https://data.bioontology.org/ontologies/ENVTHES/classes/http%3A%2F%2Fvocabs.lter-europe.net%2FEnvThes%2F20624
When using the classes endpoint, the prefLabel is listed using the English lexical label:
However, a REST call using the search endpoint returns no matches:
https://data.bioontology.org/search?q=amphibians&ontologies=ENVTHES
The class in question uses multilingual labeling with 3 labels for English, Japanese, and Chinese:
skos:prefLabel "amphibians"@en, "両棲綱"@ja, "两栖动物"@zh;
If you issue a REST call where also_search_properties is set to true, the class is located, presumably because all of the property values are examined:
https://data.bioontology.org/search?q=amphibians&ontologies=ENVTHES&also_search_properties=true
In this case, the result set displays a Japanese lexical label.
Originally reported by Martin on the Musen Lab Slack workspace: https://musenlab.slack.com/archives/C010EAWS60J/p1697495995716159.
The ENVTHES SKOS-format ontology has a class with an English lexical label of "amphibians". Accessible via this REST call:
https://data.bioontology.org/ontologies/ENVTHES/classes/http%3A%2F%2Fvocabs.lter-europe.net%2FEnvThes%2F20624
When using the
classesendpoint, the prefLabel is listed using the English lexical label:However, a REST call using the
searchendpoint returns no matches:https://data.bioontology.org/search?q=amphibians&ontologies=ENVTHES
The class in question uses multilingual labeling with 3 labels for English, Japanese, and Chinese:
If you issue a REST call where
also_search_propertiesis set to true, the class is located, presumably because all of the property values are examined:https://data.bioontology.org/search?q=amphibians&ontologies=ENVTHES&also_search_properties=true
In this case, the result set displays a Japanese lexical label.