query-19ae32ac4c8224e6bd2029ca0cdf0691

rq turtle/ttl

TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?item WHERE {
  VALUES ?class { wd:Q15944511 wd:Q476028 }
  ?item wdt:P31 ?class; wdt:P17 wd:Q229 .
  MINUS { [] schema:about ?item; schema:isPartOf <https://el.wikipedia.org/> }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?class") v2("?item"):::projected a1((" ")) c3(["wd:Q229"]):::iri c6([https://el.wikipedia.org/]):::iri bind0[/VALUES ?class/] bind0-->v1 bind00(["wd:Q15944511"]) bind00 --> bind0 bind01(["wd:Q476028"]) bind01 --> bind0 v2 --"wdt:P31"--> v1 v2 --"wdt:P17"--> c3 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; a1 --"schema:about"--> v2 a1 --"schema:isPartOf"--> c6 end