Created
March 4, 2021 03:04
-
-
Save grafst/e206c9ab29261dec4edf17008a7ce47f to your computer and use it in GitHub Desktop.
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
#find al deceased people with a verified twitter account | |
#author: https://github.com/grafst | |
#date: 2021-03-04 | |
SELECT ?humanLabel ?handle ?death ?statement WHERE { | |
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | |
?human wdt:P31 wd:Q5. # all people | |
?human wdt:P570 ?death. # who have a death date | |
?human wdt:P2002 ?handle. # and a twitter account | |
?human p:P2002 ?statement. | |
?statement pq:P1552 wd:Q28378282. # which is verified | |
} | |
LIMIT 10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment