query-06a6933a51a51759a42c8a6f155da9a9
Personer på Wikisource fordelt på køn
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 ?language ?gender ?genderLabel
WHERE {
{
SELECT
(COUNT(DISTINCT ?person) AS ?count) ?gender ?language
WHERE {
[] schema:isPartOf / wikibase:wikiGroup "wikisource" ;
schema:inLanguage ?language ;
schema:about ?person .
?person wdt:P21 ?gender .
VALUES ?gender { wd:Q6581097 wd:Q6581072 }
}
GROUP BY ?gender ?language
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "da". }
}
ORDER BY ?language ?gender
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count"):::projected
v4("?gender"):::projected
v1("?language"):::projected
v3("?person")
a1((" "))
a2((" "))
c8(["bd:serviceParam"]):::iri
c3(["wikisource"]):::literal
c10(["da"]):::literal
a1 --"schema:isPartOf"--> a2
a2 --"wikibase:wikiGroup"--> c3
a1 --"schema:inLanguage"--> v1
a1 --"schema:about"--> v3
v3 --"wdt:P21"--> v4
bind0[/VALUES ?gender/]
bind0-->v4
bind00(["wd:Q6581097"])
bind00 --> bind0
bind01(["wd:Q6581072"])
bind01 --> bind0
bind2[/"count(?person)"/]
v3 --o bind2
bind2 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end