query-13d967b885db1408a20d93d59139f1ca

rq turtle/ttl

DAB items referring to Wikipedia instead of Wikimedia

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemDescription WHERE {
  VALUES ?dab { wd:Q4167410 wd:Q22808320 }
  ?item wdt:P31 ?dab.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
  VALUES ?itemDescription {
    "Wikipedia disambiguation page"@en
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?dab") v2("?item"):::projected v3("?itemDescription"):::projected c3(["bd:serviceParam"]):::iri c5(["en"]):::literal bind0[/VALUES ?dab/] bind0-->v1 bind00(["wd:Q4167410"]) bind00 --> bind0 bind01(["wd:Q22808320"]) bind01 --> bind0 v2 --"wdt:P31"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end bind1[/VALUES ?itemDescription/] bind1-->v3 bind10([sWikipedia disambiguation page^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"]) bind10 --> bind1