query-1a56275a407a6c7e30b0c71a8a2c2a11

rq turtle/ttl

Chercheurs et universitaires d'Ukraine employés par une université / centre de recherche en Ukraine

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#>
SELECT DISTINCT ?author ?authorLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  {?author wdt:P106 wd:Q1650915.}  # chercheur
         UNION 
  {?author wdt:P106 wd:Q121594.} # professeur
         UNION 
  {?author wdt:P106 wd:Q25339110.} # professeur titulaire
         UNION
  {?author wdt:P106 wd:Q1622272.} # enseignant universitaire 
  ?author (wdt:P19|wdt:P551|wdt:P20|wdt:P27)/wdt:P131* wd:Q212.  # né, mort, réside, citoyen -> Ukraine

  ?author wdt:P108 ?employer.
  {SELECT ?employer WHERE {
      {?employer wdt:P31 wd:Q3918.}  # univ
         UNION 
      {?employer wdt:P31 wd:Q483242.} # lab
         UNION 
      {?employer wdt:P31 wd:Q7315155.} # research center
      ?employer wdt:P131* wd:Q212. }
  }
  }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?author"):::projected v2("?employer") a1((" ")) c18(["wd:Q3918"]):::iri c7(["wd:Q121594"]):::iri c2(["bd:serviceParam"]):::iri c15(["wd:Q212"]):::iri c8(["wd:Q25339110"]):::iri c19(["wd:Q483242"]):::iri c20(["wd:Q7315155"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal c9(["wd:Q1622272"]):::iri c6(["wd:Q1650915"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end 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; subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P106"--> c9 end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P106"--> c8 end union2r <== or ==> union2l end end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P106"--> c7 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P106"--> c6 end union0r <== or ==> union0l end subgraph union3[" Union "] subgraph union3l[" "] style union3l fill:#abf,stroke-dasharray: 3 3; subgraph union4[" Union "] subgraph union4l[" "] style union4l fill:#abf,stroke-dasharray: 3 3; subgraph union5[" Union "] subgraph union5l[" "] style union5l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P27"--> a1 end subgraph union5r[" "] style union5r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P20"--> a1 end union5r <== or ==> union5l end end subgraph union4r[" "] style union4r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P551"--> a1 end union4r <== or ==> union4l end end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P19"--> a1 end union3r <== or ==> union3l end a1 --"wdt:P131"--> c15 v1 --"wdt:P108"--> v2 subgraph union6[" Union "] subgraph union6l[" "] style union6l fill:#abf,stroke-dasharray: 3 3; subgraph union7[" Union "] subgraph union7l[" "] style union7l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c20 end subgraph union7r[" "] style union7r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c19 end union7r <== or ==> union7l end end subgraph union6r[" "] style union6r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c18 end union6r <== or ==> union6l end v2 --"wdt:P131"--> c15