query-ff56f2555414be884a89c1435d3cbfe9
Personnes nées dans les P-O par occupation (bubbles)
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 bd: <http://www.bigdata.com/rdf#>
#defaultView:BubbleChart
SELECT ?occupationLabel (COUNT(DISTINCT ?person) as ?personCount)
WHERE {
?person wdt:P31 wd:Q5;
wdt:P19 ?birthPlace;
wdt:P106 ?occupation.
?birthPlace wdt:P131 wd:Q12709.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?occupationLabel ORDER BY DESC(?personCount)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?birthPlace")
v4("?occupation")
v2("?person"):::projected
v5("?personCount")
c6(["wd:Q12709"]):::iri
c8(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P31"--> c2
v2 --"wdt:P19"--> v3
v2 --"wdt:P106"--> v4
v3 --"wdt:P131"--> c6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end
bind1[/"count(?person)"/]
v2 --o bind1
bind1 --as--o v5