What is best way to implement multi-lingual / internationalization
in Graph database?
I am using Gremlin-Neputune
Property graph database. I did not find any default implementation for multilingual
Let say, I have node Role
with property Employee
, How to maintain the same in different language?
RDF/SPARQL has multi lingual support built in which is handy - strings can be annotated as being in a specific language. Gremlin does not have such a concept. However you could do something like this:
g.addV('City').
property('name_en', 'London').
property('name_fr', 'Londres').
property('name_ne', 'Londen')
Another option:- Having meta-properties to the default language property
g.addV('city').
property('name', 'London', 'name_fr', 'Londres', 'name_ne', 'Londen')
Reference for MetaProperties: http://www.kelvinlawrence.net/book/PracticalGremlin.html#metaprop
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.