Created
August 26, 2023 12:34
-
-
Save egonw/7e1bd41bed8be0f2045f722f660be4ae to your computer and use it in GitHub Desktop.
List all references for an item
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
PREFIX target: <http://www.wikidata.org/entity/Q76> | |
SELECT DISTINCT ?source ?sourceLabel WHERE { | |
VALUES ?refType { pr:P248 pr:P854 } | |
target: ?propp ?statement . | |
?statement prov:wasDerivedFrom ?reference . | |
?reference ?refType ?source . | |
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