query-033217bb9e8542949c62c662dc180f32

rq turtle/ttl

Manufacturers

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 
  ?carmodels
  ?manufacturer ?manufacturerLabel ?manufacturerDescription
WHERE {
   {
  SELECT 
    (COUNT(?carmodel) AS ?carmodels)
    ?manufacturer
  WHERE {
    ?carmodel wdt:P31 wd:Q3231690 ;
              wdt:P176 ?manufacturer .
  } 
  GROUP BY ?manufacturer
}  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?carmodels)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?carmodel") v4("?carmodels"):::projected v3("?manufacturer"):::projected c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q3231690"]):::iri v2 --"wdt:P31"--> c2 v2 --"wdt:P176"--> v3 bind1[/"count(?carmodel)"/] v2 --o bind1 bind1 --as--o v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end