query-126797b40c8ab1fc8df82a38ce868ddf

rq turtle/ttl

Verteilung nach Geschlecht

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#>
#defaultView:BarChart
SELECT DISTINCT ?GeschlechtLabel (COUNT(?Person) AS ?count) 
WHERE
{
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de". }
  ?Person wdt:P1344 wd:Q76356403 ;
          wdt:P31 wd:Q5 ;
          wdt:P21 ?Geschlecht .
}
GROUP BY ?GeschlechtLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?Geschlecht") v1("?Person"):::projected v3("?count") c4(["#91;AUTO_LANGUAGE#93;,de"]):::literal c2(["bd:serviceParam"]):::iri c6(["wd:Q76356403"]):::iri c8(["wd:Q5"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P1344"--> c6 v1 --"wdt:P31"--> c8 v1 --"wdt:P21"--> v2 bind1[/"count(?Person)"/] v1 --o bind1 bind1 --as--o v3