query-dfbf323a95d3a1e2655f692aa8911c1c
daily newspapers by number of articles in WD SELECT (COUNT($q) AS $count) $publisher $publisherLabel WHERE { $q wdt:P1433 $publisher . $publisher wdt:P31 wd:Q1110794 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr". } } GROUP BY ?publisher $publisherLabel ORDER BY DESC ($count)
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#>
# daily newspapers by number of articles in WD
SELECT (COUNT($q) AS $count) $publisher $publisherLabel
WHERE {
$q wdt:P1433 $publisher .
$publisher wdt:P31 wd:Q1110794 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr". }
}
GROUP BY ?publisher $publisherLabel
ORDER BY DESC ($count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count")
v3("?publisher"):::projected
v2("?q"):::projected
c5(["bd:serviceParam"]):::iri
c3(["wd:Q1110794"]):::iri
c7(["en,fr"]):::literal
v2 --"wdt:P1433"--> v3
v3 --"wdt:P31"--> c3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind1[/"count(?q)"/]
v2 --o bind1
bind1 --as--o v4