Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add name translations in SPARQL? #28

Open
abriginets opened this issue Apr 25, 2018 · 1 comment
Open

How to add name translations in SPARQL? #28

abriginets opened this issue Apr 25, 2018 · 1 comment

Comments

@abriginets
Copy link

Hello. How can I add name of embassy/consulate and it's name translations in other languages and is it possible at all? I'd like to use this info:

default

in format:

"name_translations": {
    "en": "Embassy of Iran, Abu Dhabi",
    "ru": "Посольство Ирана в ОАЭ"
    ...
}

And so on. Thanks!

@nicolas-raoul
Copy link
Collaborator

You can get labels with this query.
Just replace "en" with the code of the language you want :-)
Then match using the QID.
You can also try to use the same query, but it is easy to run over the timeout value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants