query-ddd9ef736f4f138569e6ef6ad4cf3b93
Authors by gender
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:Gutenberg authors by gender
#defaultView:BarChart
SELECT DISTINCT ?gender ?genderLabel (COUNT(?author) as ?count)
WHERE {
?author wdt:P1938 ?id ; wdt:P21 ?gender FILTER( !wikibase:isSomeValue(?gender) ).
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en". }
} GROUP BY ?gender ?genderLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?author"):::projected
v4("?count")
v1("?gender"):::projected
v3("?id")
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,mul,en"]):::literal
f0[["not http://wikiba.se/ontology#isSomeValue(?gender)"]]
f0 --> v1
v2 --"wdt:P1938"--> v3
v2 --"wdt:P21"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
bind2[/"count(?author)"/]
v2 --o bind2
bind2 --as--o v4