Open salgo60 opened 2 months ago
#title: Badplats på EUs officiella språk enligt WIkidata Q567998
SELECT ?WikilangCode ?langNameSV ?label WHERE {
# EU official languages and their Wikimedia language codes
wd:Q13639115 wdt:P527 ?lang .
?lang wdt:P424 ?WikilangCode .
# Fetch the language name in Swedish
?lang rdfs:label ?langNameSV .
FILTER(LANG(?langNameSV) = "sv") # Ensure the language name is in Swedish
# Try to get the labels for "Utegym" in each language
OPTIONAL {
wd:Q567998 rdfs:label ?label .
BIND(LANG(?label) AS ?labelLang) .
FILTER (?labelLang = ?WikilangCode)
}
# Assign "<saknar label>" for languages without a label
BIND(COALESCE(?label, "<saknar label>") AS ?label)
}
ORDER BY ?WikilangCode
Vad tror sig Wikidata veta
se