ontoportal-lirmm / goo

Graph Oriented Objects (GOO) for Ruby. A RDF/SPARQL based ORM.
http://ncbo.github.io/goo/
Other
0 stars 4 forks source link

Feature: Make map_attribute support showing all languages - Support multi language search #42

Closed syphax-bouazzouni closed 1 year ago

syphax-bouazzouni commented 1 year ago

Context

Follow up of https://github.com/ontoportal-lirmm/goo/pull/41

This PR makes 'map_attributes` method handle the option showing all the languages; this method is used to map the unmapped values to the mapped ones (e.g skos:prefLabel to the model attribute prefLabel) and is used in the indexation process.

So making the method multilingual is mandatory and the first step to make the search/index multilingual.

Changes