query-f005a1bfb47ae3ff5f88bdc9dcda80ef
11:47, 1 November 2017 (UTC) Revi— regards,
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 ?occupation ?occupationLabel (COUNT(?occupation) AS ?count) WHERE {
?item ^schema:about [ schema:isPartOf <https://ko.wikipedia.org/> ]; wdt:P21 wd:Q6581072; wdt:P31 wd:Q5; wdt:P106 ?occupation .
SERVICE wikibase:label { bd:serviceParam wikibase:language '[AUTO_LANGUAGE],en' }
} GROUP BY ?occupation ?occupationLabel ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count")
v2("?item")
v3("?occupation"):::projected
a1((" "))
c10(["bd:serviceParam"]):::iri
c7(["wd:Q5"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2([https://ko.wikipedia.org/]):::iri
c5(["wd:Q6581072"]):::iri
a1 --"schema:isPartOf"--> c2
a1 --"schema:about"--> v2
v2 --"wdt:P21"--> c5
v2 --"wdt:P31"--> c7
v2 --"wdt:P106"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end
bind1[/"count(?occupation)"/]
v3 --o bind1
bind1 --as--o v4