query-17cd82aa88e6363f19a9c5eeb2eef3be

rq turtle/ttl

Querying University of Toronto Archives & Records Management Services "archives at" for sex/gender

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#>
select distinct ?sexLabel (COUNT(?item) AS ?count) 
WHERE {
    ?item wdt:P485 wd:Q64825166;
          wdt:P21 ?sex;
            wikibase:sitelinks ?sitelinks.

    SERVICE wikibase:label { bd:serviceParam wikibase:language "en,nl" }
}
GROUP BY ?sexLabel
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?count") v2("?item"):::projected v3("?sex") v4("?sitelinks") c8(["en,nl"]):::literal c6(["bd:serviceParam"]):::iri c2(["wd:Q64825166"]):::iri v2 --"wdt:P485"--> c2 v2 --"wdt:P21"--> v3 v2 --"wikibase:sitelinks"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind1[/"count(?item)"/] v2 --o bind1 bind1 --as--o v5