query-2d6a130d35e489b2608d3bbb1fed471a
How is the ratio calculated for gender bias?How is the ratio calculated for gender bias? I am examining the dawiki and see 110061 "M Usage", but when I use Wikidata I get only 59059. The same discrepancy I see for the female usage. Here is my SPARQL query:
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?count ?gender ?genderLabel
WHERE {
{
SELECT ?gender (COUNT(*) AS ?count) WHERE {
# ?item wdt:P31 wd:Q5 .
?item wdt:P21 ?gender .
?article schema:about ?item.
?article schema:isPartOf <https://da.wikipedia.org/>
}
GROUP BY ?gender
} SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". }
}
ORDER BY DESC(?count)
LIMIT 25
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?article")
v5("?count"):::projected
v3("?gender"):::projected
v2("?item")
c6(["bd:serviceParam"]):::iri
c8(["da,en"]):::literal
c4([https://da.wikipedia.org/]):::iri
v2 --"wdt:P21"--> v3
v4 --"schema:about"--> v2
v4 --"schema:isPartOf"--> c4
bind1[/"count(*)"/]
bind1 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end