ncbo / ontologies_linked_data

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

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

Open alexskr opened 3 weeks ago

alexskr commented 3 weeks 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 3 weeks ago

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