query-592f61f835154adb5ac45e9d23eea708
Should male organism (Q44148) be used on items of anthropomorphic character (Q27921916)? 19:00, 20 March 2020 (UTC)) talk (TradeWhat do you others think? -- here. I try to make some statistics of which values used for non-human characters (I've filtered out Ancient greek characters as they are mostly non-marked humans, and different deities):previous discussionI am came here about the same question. I see
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 ?sex ?sexLabel ?cnt ?itemSample ?itemSampleLabel WHERE {
{
SELECT ?sex (COUNT(?item) AS ?cnt) (SAMPLE(?item) AS ?itemSample) WHERE {
?item wdt:P31/wdt:P279* wd:Q95074.
MINUS {?item wdt:P31/wdt:P279* wd:Q15632617.}
MINUS {?item wdt:P31 wd:Q22988604.}
MINUS {?item wdt:P31/wdt:P279* wd:Q178885.}
?item wdt:P21 ?sex.
}
GROUP BY ?sex ?sexLabel
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?cnt)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?cnt"):::projected
v2("?item")
v4("?itemSample"):::projected
v3("?sex"):::projected
a1((" "))
a2((" "))
a3((" "))
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q15632617"]):::iri
c3(["wd:Q95074"]):::iri
c5(["wd:Q22988604"]):::iri
c6(["wd:Q178885"]):::iri
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> a2
a2 --"wdt:P279"--> c4
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> c5
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> a3
a3 --"wdt:P279"--> c6
end
v2 --"wdt:P21"--> v3
bind5[/"count(?item)"/]
v2 --o bind5
bind5 --as--o v4
bind6[/"sample(?item)"/]
v2 --o bind6
bind6 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end