-
-
Save Abbe98/713f80e951c17a8dcb98503c275b40a0 to your computer and use it in GitHub Desktop.
Wikidata SparQL Queries
This file contains 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
# Sign languages by count | |
SELECT (COUNT(?lang) as ?language) ?langLabel ?lang | |
WHERE { | |
?item wdt:P2919 ?file . | |
?item p:P2919 ?statement . | |
?statement pq:P407 ?lang . | |
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . } | |
} | |
GROUP BY ?langLabel ?lang | |
ORDER BY DESC(?language) |
This file contains 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
# Items with label in specified sign language | |
SELECT ?item ?itemLabel ?file ?itemDescription | |
WHERE { | |
?item wdt:P2919 ?file . | |
?item p:P2919 ?statement . | |
?statement pq:P407 wd:Q36558 . | |
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment