query-83afdd22e3a61075b61843af64a3c06b
TODO
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:BubbleChart
SELECT (COUNT(?ser_humano) AS ?count) ?paisLabel WHERE
{
?ser_humano wdt:P31 wd:Q5 .
?ser_humano wdt:P27 ?pais .
?ser_humano p:P10069 ?statement .
?statement ps:P10069 ?Tabakalera_ID.
?statement pq:P195 wd:Q61070552.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} GROUP BY ?paisLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?Tabakalera_ID")
v5("?count")
v2("?pais")
v1("?ser_humano"):::projected
v3("?statement")
c9(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c7(["wd:Q61070552"]):::iri
v1 --"p:direct/P31"--> c2
v1 --"p:direct/P27"--> v2
v1 --"p:P10069"--> v3
v3 --"p:statement/P10069"--> v4
v3 --"p:qualifier/P195"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end
bind1[/"count(?ser_humano)"/]
v1 --o bind1
bind1 --as--o v5