query-7d9d4ac881d1bd8d1c900a2ab5f51cd0
Propertiesinstance of (P31)subclass of (P279)readable file format (P1072)
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 ?format ?formatLabel (COUNT(?app) AS ?count)
WHERE {
?format wdt:P31/wdt:P279* wd:Q235557.
?app wdt:P1072 ?format.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
GROUP BY ?format ?formatLabel
ORDER BY DESC(?count)
LIMIT 50
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?app"):::projected
v4("?count")
v2("?format"):::projected
a1((" "))
c3(["wd:Q235557"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["en"]):::literal
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v3 --"wdt:P1072"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
bind1[/"count(?app)"/]
v3 --o bind1
bind1 --as--o v4