query-82da806895dda8a2875141087a27e1fa

rq turtle/ttl

title:List of researchers with affiliation to institutions in Switzerland or Liechtenstein without gender SELECT DISTINCT ?person ?personLabel WHERE { ?person wdt:P108 [ wdt:P17 ?country ] . VALUES ?country { wd:Q39 wd:Q347 } . MINUS { ?person wdt:P21 [] . } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_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#>
#title:List of researchers with affiliation to institutions in Switzerland or Liechtenstein without gender
SELECT DISTINCT ?person ?personLabel
WHERE {
  ?person wdt:P108 [ wdt:P17 ?country ] .
  VALUES ?country { wd:Q39 wd:Q347 } .
  MINUS { ?person wdt:P21 [] . }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?country") v2("?person"):::projected a2((" ")) a1((" ")) c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal a1 --"wdt:P17"--> v3 v2 --"wdt:P108"--> a1 bind0[/VALUES ?country/] bind0-->v3 bind00(["wd:Q39"]) bind00 --> bind0 bind01(["wd:Q347"]) bind01 --> bind0 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v2 --"wdt:P21"--> a2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end