query-3c9b76739fa907ba8b9959a2b603b6ed
Propertiesinstance of (P31)main subject (P921)describes a project that uses (P4510)
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 ?item ?itemLabel ?cnt
{
{
SELECT ?item (COUNT(?value) AS ?cnt)
{
?item wdt:P31 wd:Q13442814.
?item wdt:P921 wd:Q164778.
?item wdt:P4510 ?value
}
GROUP BY ?item ORDER BY DESC(?cnt) LIMIT 100
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?cnt)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?cnt"):::projected
v2("?item"):::projected
v3("?value")
c2(["wd:Q13442814"]):::iri
c7(["bd:serviceParam"]):::iri
c4(["wd:Q164778"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P31"--> c2
v2 --"wdt:P921"--> c4
v2 --"wdt:P4510"--> v3
bind1[/"count(?value)"/]
v3 --o bind1
bind1 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end