query-843d246e0135153db1b0579caacd4636
TODO
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#>
#Types of publishers for focus list articles
#defaultView:BubbleChart
SELECT ?typeLabel (COUNT(?article) AS ?count)
WHERE {?publisher wdt:P31 ?type.
?journal wdt:P123 ?publisher.
?article wdt:P1433 ?journal;
wdt:P5008 wd:Q55439927.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY (?typeLabel)
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?article"):::projected
v6("?count")
v4("?journal")
v2("?publisher")
v3("?type")
c7(["bd:serviceParam"]):::iri
c5(["wd:Q55439927"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P31"--> v3
v4 --"wdt:P123"--> v2
v5 --"wdt:P1433"--> v4
v5 --"wdt:P5008"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind1[/"count(?article)"/]
v5 --o bind1
bind1 --as--o v6