query-bb0c65d6aaa722c1efeb0ce0ce79fd8d

rq turtle/ttl

Korean Wikipedia, most common occupation for womenHi, . (Q17985)Korean Wikipedia in (Q6581072)female , and the number of that occupation. I already have a basic query for number of (Q17985)Korean Wikipedia which has sitelink to (Q6581072)female whose gender is (Q5)human of (P106)occupation I'd like to know the most popular

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT (count(?item) as ?c) WHERE {
?item wdt:P21 wd:Q6581072.
?item wdt:P31 wd:Q5.
?war schema:about ?item.
?war schema:isPartOf <https://ko.wikipedia.org/> .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?c") v1("?item"):::projected v2("?war") c4(["wd:Q5"]):::iri c7([https://ko.wikipedia.org/]):::iri c2(["wd:Q6581072"]):::iri v1 --"wdt:P21"--> c2 v1 --"wdt:P31"--> c4 v2 --"schema:about"--> v1 v2 --"schema:isPartOf"--> c7 bind1[/"count(?item)"/] v1 --o bind1 bind1 --as--o v3