query-e8993ba7671582fd5e0bf465c5df5ac4

rq turtle/ttl

RedirectsI have a list of 250 Item ID which I suspect ob being redirects. What would be the easiest way to check if they are and to what page they are redirecting. For example for no label (Q817614) I would like to get Benjamin Marshall (Q15123417). --Jarekt (A) (talk) 11:57, 6 April 2018 (UTC) Tracking redirects 11:57, 6 April 2018 (UTC)) talk (Jarekt. --(Q15123417)Benjamin Marshall I would like to get (Q817614)Benjamin Marshall I have a list of 250 Item ID which I suspect ob being redirects. What would be the easiest way to check if they are and to what page they are redirecting. For example for

Use at

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT ?source ?target WHERE {
  VALUES ?source { wd:Q817614 }
  ?source owl:sameAs ?target .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?source"):::projected v2("?target"):::projected bind0[/VALUES ?source/] bind0-->v1 bind00(["wd:Q817614"]) bind00 --> bind0 v1 --"owl:sameAs"--> v2