query-a733d3afeeb695739625a4f3d1ca77b6

rq turtle/ttl

TODO

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  ?womanwinner ?womanwinnerLabel {
  ?womanwinner wdt:P166/(wdt:P79|wdt:P361 )* wd:Q7191 ;  # using part of OR subclass of because of a discussion ongoing at the time of the query wrinting that did not totally reached a decision
          wdt:P21 wd:Q6581072 .
  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; v1("?womanwinner"):::projected a1((" ")) c8(["bd:serviceParam"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal c6(["wd:Q6581072"]):::iri c3(["wd:Q7191"]):::iri v1 --"wdt:P166"--> a1 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; a1 --"wdt:P361"--> c3 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; a1 --"wdt:P79"--> c3 end union0r <== or ==> union0l end v1 --"wdt:P21"--> c6 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end