query-7ccc73fe0a570bb2d2a3c75dd50e008d
Employés ou affiliés du système UdeM (+HEC+Poly+hopitaux)
Use at
- https://query.wikidata.org/sparql
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#>
SELECT DISTINCT ?_udem ?_udemLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
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
?_udem (wdt:P108|wdt:P1416/wdt:P361*) ?univ. # Employés ou affiliés
#timeout : ?_udem (wdt:P108/wdt:P361*|wdt:P1416/wdt:P361*) # Employés ou affilié et leurs sous-parties (dép., facultés, etc.)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?_udem"):::projected
v1("?univ")
a1((" "))
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
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;
v2 --"wdt:P1416"--> a1
a1 --"wdt:P361"--> v1
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P108"--> v1
end
union0r <== or ==> union0l
end