query-5adf7b2b4f9d824ad952d5d77a0374a9
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?instance ?instanceLabel (count(?item) as ?count)
WHERE
{
VALUES ?instance {wd:Q283202 wd:Q44782 wd:Q863915 wd:Q6034850 wd:Q721207 wd:Q828909 wd:Q3543043 wd:Q64210934 wd:Q7398566 wd:Q15310171
wd:Q1313726 wd:Q913035 wd:Q10952797 wd:Q66724450 wd:Q1478783 wd:Q4303352 wd:Q1420027 wd:Q51601018 wd:Q3497366
wd:Q3398676 wd:Q1449240 wd:Q2229782 wd:Q331367 wd:Q1324633 wd:Q331367 wd:Q11553812 }
?item wdt:P31 ?instance.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} group by ?instance ?instanceLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?count")
v1("?instance"):::projected
v2("?item"):::projected
c3(["bd:serviceParam"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?instance/]
bind0-->v1
bind00(["wd:Q283202"])
bind00 --> bind0
bind01(["wd:Q44782"])
bind01 --> bind0
bind02(["wd:Q863915"])
bind02 --> bind0
bind03(["wd:Q6034850"])
bind03 --> bind0
bind04(["wd:Q721207"])
bind04 --> bind0
bind05(["wd:Q828909"])
bind05 --> bind0
bind06(["wd:Q3543043"])
bind06 --> bind0
bind07(["wd:Q64210934"])
bind07 --> bind0
bind08(["wd:Q7398566"])
bind08 --> bind0
bind09(["wd:Q15310171"])
bind09 --> bind0
bind010(["wd:Q1313726"])
bind010 --> bind0
bind011(["wd:Q913035"])
bind011 --> bind0
bind012(["wd:Q10952797"])
bind012 --> bind0
bind013(["wd:Q66724450"])
bind013 --> bind0
bind014(["wd:Q1478783"])
bind014 --> bind0
bind015(["wd:Q4303352"])
bind015 --> bind0
bind016(["wd:Q1420027"])
bind016 --> bind0
bind017(["wd:Q51601018"])
bind017 --> bind0
bind018(["wd:Q3497366"])
bind018 --> bind0
bind019(["wd:Q3398676"])
bind019 --> bind0
bind020(["wd:Q1449240"])
bind020 --> bind0
bind021(["wd:Q2229782"])
bind021 --> bind0
bind022(["wd:Q331367"])
bind022 --> bind0
bind023(["wd:Q1324633"])
bind023 --> bind0
bind024(["wd:Q331367"])
bind024 --> bind0
bind025(["wd:Q11553812"])
bind025 --> bind0
v2 --"wdt:P31"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
bind2[/"count(?item)"/]
v2 --o bind2
bind2 --as--o v3