query-1934c360c001f7373f842f13bea886b5

rq turtle/ttl

Top publishers

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT
  ?count 
  ?publisher ?publisherLabel
  (CONCAT("#publisher/", SUBSTR(STR(?publisher), 32)) AS ?publisherUrl)
  ?publisherDescription
WHERE {
   {
  SELECT
    (COUNT(*) AS ?count)
    ?publisher
  WHERE {
    [] wdt:P123 ?publisher .
  }
  GROUP BY ?publisher
  ORDER BY DESC(?count)
  LIMIT 200
}  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
}
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?count"):::projected v2("?publisher"):::projected v3("?publisherUrl") a1((" ")) c3(["bd:serviceParam"]):::iri c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal a1 --"wdt:P123"--> v2 bind1[/"count(*)"/] bind1 --as--o v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end bind2[/"concat('#publisher/',substring(str(?publisher),'32^^xsd:integer'))"/] v2 --o bind2 bind2 --as--o v3