query-a1adfdf961c146188c1ed8c2b305281e

rq turtle/ttl

title:List of researchers employed by and/or affiliated to and/or educated with wdt:P69 at EPFL or parts of EPFL SELECT DISTINCT ?person WHERE { ?person ?prop ?v . VALUES ?prop { wdt:P108 wdt:P1416} . ?person wikibase:identifiers ?n . FILTER(?n > 1) { VALUES ?v { wd:Q262760 } } UNION { ?v ?prop2 wd:Q262760 . VALUES ?prop2 { wdt:P361 wdt:P749 } } . }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#title:List of researchers employed by and/or affiliated to and/or educated with  wdt:P69 at EPFL or parts of EPFL
SELECT DISTINCT ?person
WHERE {
  ?person ?prop ?v . VALUES ?prop { wdt:P108 wdt:P1416} .
  ?person wikibase:identifiers ?n . FILTER(?n > 1)
  { VALUES ?v { wd:Q262760 } } UNION { ?v ?prop2 wd:Q262760 . VALUES ?prop2 { wdt:P361 wdt:P749 } } .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?n") v2("?person"):::projected v5("?prop") v6("?prop2") v5("?v") c3(["wd:Q262760"]):::iri f0[["?n > '1^^xsd:integer'"]] f0 --> v1 v2 -->v5--> v5 bind1[/VALUES ?prop/] bind1-->v5 bind10(["wdt:P108"]) bind10 --> bind1 bind11(["wdt:P1416"]) bind11 --> bind1 v2 --"wikibase:identifiers"--> v1 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v5 -->v6--> c3 bind2[/VALUES ?prop2/] bind2-->v6 bind20(["wdt:P361"]) bind20 --> bind2 bind21(["wdt:P749"]) bind21 --> bind2 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; bind3[/VALUES ?v/] bind3-->v5 bind30(["wd:Q262760"]) bind30 --> bind3 end union0r <== or ==> union0l end