query-e4c6e12fda54fd55cbf9e1f05e1e380e

rq turtle/ttl

Removing "women in STEM fields" (Q86379016) from entities ]reply[23:18, 4 March 2020 (UTC)) talk (Emiraglia85Hi! Last fall several colleagues and myself were working on Wikidata entries for women in STEM and added the property "instance of" with "women in STEM fields" to 7 or so people in Wikidata. It seems that you removed that claim from all of the entities despite the fact that the usage is correct for both P31 and Q86379016. I plan on adding them back to the records, could you please let me know why the changes were made? Thank you. with every possible combination of traits. The item for a woman in STEM will have three traits:(P31)instance of ." This is done to avoid cluttering (Q5)human value: (P31)instance of , "There is a consensus that an individual person has only one Help:Modelling/Other domains#People: Sorry for interfering with your project. I reverted the changes because, per Emiraglia85@ or some subclass thereof(Q81096)engineer or (Q901)scientist is (P106)occupation or some subclass thereof(Q395)mathematics or (Q11023)engineering or (Q11016)technology or (Q336)science is (P101)field of work (Q6581072)female is (P21)sex or gender (Q5)human is (P31)instance of The following query would get you a pretty broad list of women in STEM:

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 ?person ?personLabel WHERE {
  ?person wdt:P31 wd:Q5.
  ?person wdt:P21 wd:Q6581072.
  wd:Q1881523 wdt:P527 ?basefield.
  ?field wdt:P279* ?basefield.
  ?field wdt:P3095 ?occupation.
  {?person wdt:P101 ?field} UNION {?person wdt:P106 ?occupation}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} LIMIT 100 # Increase this if you want more results

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?basefield") v3("?field") v4("?occupation") v1("?person"):::projected c5(["wd:Q1881523"]):::iri c4(["wd:Q6581072"]):::iri c12(["bd:serviceParam"]):::iri c2(["wd:Q5"]):::iri c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P31"--> c2 v1 --"wdt:P21"--> c4 c5 --"wdt:P527"--> v2 v3 --"wdt:P279"--> v2 v3 --"wdt:P3095"--> v4 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P106"--> v4 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P101"--> v3 end union0r <== or ==> union0l end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end