query-9874e55ba1b35fcdeb656fb23d3c37ed

rq turtle/ttl

]reply[22:24, 1 March 2018 (UTC)) talk (MultichillAlvast bedankt voor je hulp. Nog een leuke trouwens, hier ben ik met de robot doorheen aan het gaan:

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item WHERE {
  ?item wdt:P106 wd:Q1028181 .
  ?item wdt:P650 [] . 
  { ?item wdt:P19 wd:Q9920 } UNION { ?item wdt:P20 wd:Q9920 } .
  MINUS { ?item p:P937 ?location } 
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v2("?location") a1((" ")) c2(["wd:Q1028181"]):::iri c5(["wd:Q9920"]):::iri v1 --"p:direct/P106"--> c2 v1 --"p:direct/P650"--> a1 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v1 --"p:direct/P20"--> c5 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"p:direct/P19"--> c5 end union0r <== or ==> union0l end subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"p:P937"--> v2 end