Created
October 26, 2024 11:25
-
-
Save knbknb/13a64b98a6dbbadb975b09c29c7ac502 to your computer and use it in GitHub Desktop.
Smurfette in div languages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lists the names of smurfette in all languages that wikidata knows about . | |
# the result should have two columns, "language_label" and "smurfette_name" | |
SELECT ?language_label ?smurfette_name WHERE { | |
wd:Q305405 rdfs:label ?smurfette_name. | |
FILTER(LANG(?smurfette_name) != ""). | |
BIND(LANG(?smurfette_name) AS ?lang). | |
?language_item wdt:P218 ?lang. | |
SERVICE wikibase:label { | |
bd:serviceParam wikibase:language "en". | |
?language_item rdfs:label ?language_label. | |
} | |
} | |
ORDER BY ?language_label |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment