query-e825f39770451a0e2f9729c172b4c978

rq turtle/ttl

Propertiesinstance of (P31)has use (P366)

Use at

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 ?class ?classLabel  (COUNT(?software) AS ?count)

WHERE {

  ?software wdt:P31 ?class.
  ?software wdt:P366 wd:Q189177 .

  SERVICE wikibase:label {
        bd:serviceParam wikibase:language "en" .

}
  }
GROUP BY ?class ?classLabel

ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?class"):::projected v4("?count") v2("?software"):::projected c5(["bd:serviceParam"]):::iri c3(["wd:Q189177"]):::iri c7(["en"]):::literal v2 --"wdt:P31"--> v3 v2 --"wdt:P366"--> c3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end bind1[/"count(?software)"/] v2 --o bind1 bind1 --as--o v4