query-a6834d1ddb1e3fa622d0581d5eac05d2

rq turtle/ttl

Chercheurs du système UdeM, sans lien pointant vers eux (orphelines)

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: Chercheurs du système UdeM, sans lien pointant vers eux (requête adaptée de Nicolas Vigneron) 
#defaultView:Chart
SELECT ?q WHERE {
  VALUES ?univ { wd:Q392189 wd:Q273527 wd:Q273619 wd:Q1054216 wd:Q67182995 wd:Q2945760 wd:Q3152656 wd:Q3151984 wd:Q3145326 wd:Q3145180 }  # et CHUM, Mila, Ste-Justine, gériatrie, MHI, SacréCoeur, Maisonneuve
  ?q(wdt:P108/wdt:P361*|wdt:P1416/wdt:P361*|wdt:P69) ?univ. # Employés ou affilié ou étudiants et leurs sous-parties (dép., facultés, etc.)
  ?q(wdt:P108|wdt:P463|wdt:P1416) ?univ .
  MINUS { ?x ?lien ?q }
  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; v4("?lien") v2("?q"):::projected v1("?univ") v3("?x") a1((" ")) a2((" ")) c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/VALUES ?univ/] bind0-->v1 bind00(["wd:Q392189"]) bind00 --> bind0 bind01(["wd:Q273527"]) bind01 --> bind0 bind02(["wd:Q273619"]) bind02 --> bind0 bind03(["wd:Q1054216"]) bind03 --> bind0 bind04(["wd:Q67182995"]) bind04 --> bind0 bind05(["wd:Q2945760"]) bind05 --> bind0 bind06(["wd:Q3152656"]) bind06 --> bind0 bind07(["wd:Q3151984"]) bind07 --> bind0 bind08(["wd:Q3145326"]) bind08 --> bind0 bind09(["wd:Q3145180"]) bind09 --> bind0 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P69"--> v1 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P1416"--> a2 a2 --"wdt:P361"--> v1 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P108"--> a1 a1 --"wdt:P361"--> v1 end union0r <== or ==> union0l end subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; subgraph union3[" Union "] subgraph union3l[" "] style union3l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P1416"--> v1 end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P463"--> v1 end union3r <== or ==> union3l end end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P108"--> v1 end union2r <== or ==> union2l end subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v3 -->v4--> v2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end