query-2055da6f34a4f391fcb3030009ac314e
finding redirected wikidata items used by SDC (SDC) point to redirected items which need updating. I was hoping to run something like: Structured data on Commons I am trying to find cases where wikidata items stored in
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT ?commonsItem ?wikidataItem ?target
WHERE
{
?commonsItem wdt:P6243 ?wikidataItem.
?wikidataItem owl:sameAs ?target.
}
limit 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?commonsItem"):::projected
v3("?target"):::projected
v2("?wikidataItem"):::projected
v1 --"wdt:P6243"--> v2
v2 --"owl:sameAs"--> v3