query-74c4b3a2762f821474361dc0acf7f182
only redirects (מפיק דוח רק עם ההפניות והפריט שהוא מפנה אליו) select ?candidate ?item ?j9u { #hint:Query hint:optimizer "None". values ?candidate { # replace with your list of item wd:Q5991982 #redirect to Q488 wd:Q488 wd:Q13055412 #redirect to Q1008 wd:Q19747477 #redirect to Q1008 wd:Q19746706 #redirect to Q1008 } ?candidate owl:sameAs ?item. }
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
# only redirects (מפיק דוח רק עם ההפניות והפריט שהוא מפנה אליו)
select ?candidate ?item ?j9u {
#hint:Query hint:optimizer "None".
values ?candidate {
# replace with your list of item
wd:Q5991982 #redirect to Q488
wd:Q488
wd:Q13055412 #redirect to Q1008
wd:Q19747477 #redirect to Q1008
wd:Q19746706 #redirect to Q1008
}
?candidate owl:sameAs ?item.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?candidate"):::projected
v2("?item"):::projected
bind0[/VALUES ?candidate/]
bind0-->v1
bind00(["wd:Q5991982"])
bind00 --> bind0
bind01(["wd:Q488"])
bind01 --> bind0
bind02(["wd:Q13055412"])
bind02 --> bind0
bind03(["wd:Q19747477"])
bind03 --> bind0
bind04(["wd:Q19746706"])
bind04 --> bind0
v1 --"owl:sameAs"--> v2