query-b099c14e2aad8d909421aaf6d11738c0

rq turtle/ttl

Identify redirects using item property owl:sameAs

SELECT (REPLACE(STR(?item),".Q","Q") AS ?qid) (REPLACE(STR(?tgt),".Q","Q") AS ?tgtQid) ?tgtLabel WHERE { VALUES (?item) { (wd:Q6636058) (wd:Q8989284) (wd:Q243634) (wd:Q13383295) (wd:Q659516) (wd:Q1020776) (wd:Q10124662) (wd:Q9066399) (wd:Q12309669) (wd:Q16033883) (wd:Q733744) (wd:Q226569) (wd:Q14210256) (wd:Q408041) (wd:Q750594) (wd:Q11075312) } ?item owl:sameAs ?tgt . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } ORDER BY ?qid Identify redirects using item property owl:sameAs

SELECT (REPLACE(STR(?item),".Q","Q") AS ?qid) (REPLACE(STR(?tgt),".Q","Q") AS ?tgtQid) ?tgtLabel WHERE { VALUES (?item) { (wd:Q6636058) (wd:Q8989284) (wd:Q243634) (wd:Q13383295) (wd:Q659516) (wd:Q1020776) (wd:Q10124662) (wd:Q9066399) (wd:Q12309669) (wd:Q16033883) (wd:Q733744) (wd:Q226569) (wd:Q14210256) (wd:Q408041) (wd:Q750594) (wd:Q11075312) } ?item owl:sameAs ?tgt . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } ORDER BY ?qid Identify redirects using item property owl:sameAs

SELECT (REPLACE(STR(?item),".Q","Q") AS ?qid) (REPLACE(STR(?tgt),".Q","Q") AS ?tgtQid) ?tgtLabel WHERE { VALUES (?item) { (wd:Q6636058) (wd:Q8989284) (wd:Q243634) (wd:Q13383295) (wd:Q659516) (wd:Q1020776) (wd:Q10124662) (wd:Q9066399) (wd:Q12309669) (wd:Q16033883) (wd:Q733744) (wd:Q226569) (wd:Q14210256) (wd:Q408041) (wd:Q750594) (wd:Q11075312) } ?item owl:sameAs ?tgt . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } ORDER BY ?qid Identify redirects using item property owl:sameAs

SELECT (REPLACE(STR(?item),".Q","Q") AS ?qid) (REPLACE(STR(?tgt),".Q","Q") AS ?tgtQid) ?tgtLabel WHERE { VALUES (?item) { (wd:Q6636058) (wd:Q8989284) (wd:Q243634) (wd:Q13383295) (wd:Q659516) (wd:Q1020776) (wd:Q10124662) (wd:Q9066399) (wd:Q12309669) (wd:Q16033883) (wd:Q733744) (wd:Q226569) (wd:Q14210256) (wd:Q408041) (wd:Q750594) (wd:Q11075312) } ?item owl:sameAs ?tgt . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } ORDER BY ?qid Identify redirects using item property owl:sameAs

SELECT (REPLACE(STR(?item),".Q","Q") AS ?qid) (REPLACE(STR(?tgt),".Q","Q") AS ?tgtQid) ?tgtLabel WHERE { VALUES (?item) { (wd:Q6636058) (wd:Q8989284) (wd:Q243634) (wd:Q13383295) (wd:Q659516) (wd:Q1020776) (wd:Q10124662) (wd:Q9066399) (wd:Q12309669) (wd:Q16033883) (wd:Q733744) (wd:Q226569) (wd:Q14210256) (wd:Q408041) (wd:Q750594) (wd:Q11075312) } ?item owl:sameAs ?tgt . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } ORDER BY ?qid Identify redirects using item property owl:sameAs

SELECT (REPLACE(STR(?item),".Q","Q") AS ?qid) (REPLACE(STR(?tgt),".Q","Q") AS ?tgtQid) ?tgtLabel WHERE { VALUES (?item) { (wd:Q6636058) (wd:Q8989284) (wd:Q243634) (wd:Q13383295) (wd:Q659516) (wd:Q1020776) (wd:Q10124662) (wd:Q9066399) (wd:Q12309669) (wd:Q16033883) (wd:Q733744) (wd:Q226569) (wd:Q14210256) (wd:Q408041) (wd:Q750594) (wd:Q11075312) } ?item owl:sameAs ?tgt . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } ORDER BY ?qid Identify redirects using item property owl:sameAs

SELECT (REPLACE(STR(?item),".Q","Q") AS ?qid) (REPLACE(STR(?tgt),".Q","Q") AS ?tgtQid) ?tgtLabel WHERE { VALUES (?item) { (wd:Q6636058) (wd:Q8989284) (wd:Q243634) (wd:Q13383295) (wd:Q659516) (wd:Q1020776) (wd:Q10124662) (wd:Q9066399) (wd:Q12309669) (wd:Q16033883) (wd:Q733744) (wd:Q226569) (wd:Q14210256) (wd:Q408041) (wd:Q750594) (wd:Q11075312) } ?item owl:sameAs ?tgt . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } ORDER BY ?qid Identify redirects using item property owl:sameAs

SELECT (REPLACE(STR(?item),".Q","Q") AS ?qid) (REPLACE(STR(?tgt),".Q","Q") AS ?tgtQid) ?tgtLabel WHERE { VALUES (?item) { (wd:Q6636058) (wd:Q8989284) (wd:Q243634) (wd:Q13383295) (wd:Q659516) (wd:Q1020776) (wd:Q10124662) (wd:Q9066399) (wd:Q12309669) (wd:Q16033883) (wd:Q733744) (wd:Q226569) (wd:Q14210256) (wd:Q408041) (wd:Q750594) (wd:Q11075312) } ?item owl:sameAs ?tgt . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } ORDER BY ?qid Identify redirects using item property owl:sameAs

SELECT (REPLACE(STR(?item),".Q","Q") AS ?qid) (REPLACE(STR(?tgt),".Q","Q") AS ?tgtQid) ?tgtLabel WHERE { VALUES (?item) { (wd:Q6636058) (wd:Q8989284) (wd:Q243634) (wd:Q13383295) (wd:Q659516) (wd:Q1020776) (wd:Q10124662) (wd:Q9066399) (wd:Q12309669) (wd:Q16033883) (wd:Q733744) (wd:Q226569) (wd:Q14210256) (wd:Q408041) (wd:Q750594) (wd:Q11075312) } ?item owl:sameAs ?tgt . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } ORDER BY ?qid Identify redirects using item property owl:sameAs

SELECT (REPLACE(STR(?item),".Q","Q") AS ?qid) (REPLACE(STR(?tgt),".Q","Q") AS ?tgtQid) ?tgtLabel WHERE { VALUES (?item) { (wd:Q6636058) (wd:Q8989284) (wd:Q243634) (wd:Q13383295) (wd:Q659516) (wd:Q1020776) (wd:Q10124662) (wd:Q9066399) (wd:Q12309669) (wd:Q16033883) (wd:Q733744) (wd:Q226569) (wd:Q14210256) (wd:Q408041) (wd:Q750594) (wd:Q11075312) } ?item owl:sameAs ?tgt . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } ORDER BY ?qid

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX bd: <http://www.bigdata.com/rdf#>
# Identify redirects using item property owl:sameAs

SELECT (REPLACE(STR(?item),".*Q","Q") AS ?qid) (REPLACE(STR(?tgt),".*Q","Q") AS ?tgtQid) ?tgtLabel 
WHERE {
   VALUES (?item) {
      (wd:Q6636058)   (wd:Q8989284)  (wd:Q243634)   (wd:Q13383295)
      (wd:Q659516)    (wd:Q1020776)  (wd:Q10124662) (wd:Q9066399)
      (wd:Q12309669)  (wd:Q16033883) (wd:Q733744)   (wd:Q226569)
      (wd:Q14210256)  (wd:Q408041)   (wd:Q750594)   (wd:Q11075312)
     }
  ?item owl:sameAs ?tgt .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
ORDER BY ?qid

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v4("?qid") v3("?tgt"):::projected v4("?tgtQid") c3(["bd:serviceParam"]):::iri c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/VALUES ?item/] bind0-->v2 bind00(["wd:Q6636058"]) bind00 --> bind0 bind01(["wd:Q8989284"]) bind01 --> bind0 bind02(["wd:Q243634"]) bind02 --> bind0 bind03(["wd:Q13383295"]) bind03 --> bind0 bind04(["wd:Q659516"]) bind04 --> bind0 bind05(["wd:Q1020776"]) bind05 --> bind0 bind06(["wd:Q10124662"]) bind06 --> bind0 bind07(["wd:Q9066399"]) bind07 --> bind0 bind08(["wd:Q12309669"]) bind08 --> bind0 bind09(["wd:Q16033883"]) bind09 --> bind0 bind010(["wd:Q733744"]) bind010 --> bind0 bind011(["wd:Q226569"]) bind011 --> bind0 bind012(["wd:Q14210256"]) bind012 --> bind0 bind013(["wd:Q408041"]) bind013 --> bind0 bind014(["wd:Q750594"]) bind014 --> bind0 bind015(["wd:Q11075312"]) bind015 --> bind0 v2 --"owl:sameAs"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end bind1[/"replace(str(?item),'.*Q','Q')"/] v2 --o bind1 bind1 --as--o v4 bind2[/"replace(str(?tgt),'.*Q','Q')"/] v3 --o bind2 bind2 --as--o v4