ontoportal-lirmm / ontologies_linked_data

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

Support Multilingual: Read multiple languages from request parameter #84

Closed syphax-bouazzouni closed 9 months ago

syphax-bouazzouni commented 1 year ago

Context

Follow up of https://github.com/ontoportal-lirmm/ontologies_linked_data/issues/63

Currently, we don't use the lang attribute of literals, i.e in source data, we have skos:prefLabel "test"@en but we show only "test" if we want to show multiple languages the language information needs to be used and be complainant with what JSON-LD specify

The plan would is to be fully compliant JSON-LD and show the following in our API endpoints

image

Requirements

syphax-bouazzouni commented 1 year ago

Hi @haddadzineddine concerning this task we have two issues to fix:

  1. This path: https://data.testportal.lirmm.fr/ontologies/INRAETHES?display=all; does no more work
  2. The properties need to show also the corresponding languages of each value image
syphax-bouazzouni commented 9 months ago

Deployed in production https://github.com/ontoportal-lirmm/bioportal_web_ui/pull/240