In Wikidata, this shows labels in English, and falls back to Russian if no English is available:
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en, ru" .
}
QUESTION: How to fall back to ANY language?
I could list all Wikidata languages ("en, ru, [... hundreds of languages ...]"
), but that would be hard to maintain. Is there a more elegant solution?
Context: My app displays local monuments around you with a picture/name/map. Users have no idea what Wikidata is, so showing "ハチ公" or "ගල් විහාරය" is much better than showing "Q435398568", even if their phone is not set to these languages. Since the app is mostly used by locals and Wikidata usually has labels in the local language, even languages I have never heard about are often actually providing value to the users.