ncbo / ontologies_linked_data

Models and serializers for ontologies and related artifacts backed by 4store
Other
18 stars 8 forks source link

Multilingual Ontologies: search returns array instead of a string. #211

Closed alexskr closed 2 months ago

alexskr commented 5 months ago

Search results for multilingual ontologies via API return an array of perfLabels and definition in all languages rather than a single string when the language parameter is not set.

The default search behavior (when the language parameter is not set) should return a single result to preserve backward compatibility.

image
alexskr commented 5 months ago

relates to https://github.com/ontoportal/ontoportal-project/issues/56