query-5d5911f9c615e52a7b903f6707b32c36

rq turtle/ttl

by Pigsonthewing and Csisc, 2019-07-05 SELECT ?item ?itemLabel WHERE { ?item (wdt:P31/(wdt:P279*)) wd:Q41176; wdt:P17 wd:Q948. MINUS { ?item wdt:P625 []. } SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } }

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#>
#by Pigsonthewing and Csisc, 2019-07-05
SELECT ?item ?itemLabel WHERE {
  ?item (wdt:P31/(wdt:P279*)) wd:Q41176;
    wdt:P17 wd:Q948.
  MINUS { ?item wdt:P625 []. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected a2((" ")) a1((" ")) c8(["bd:serviceParam"]):::iri c3(["wd:Q41176"]):::iri c5(["wd:Q948"]):::iri c10(["en"]):::literal v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v1 --"wdt:P17"--> c5 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P625"--> a2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end