query-7e43e8581c839aa37de2e69335b55a94
Propertiesinstance of (P31)published in (P1433)cites work (P2860)
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#>
#defaultView:ScatterChart
SELECT ?work_count ?citation_count ?journal ?journalLabel
WHERE {
{
SELECT ?work_count ?citation_count ?journal {
{
SELECT ?journal (COUNT(?work) AS ?work_count) {
?journal wdt:P31 wd:Q21834496 .
?work wdt:P1433 ?journal .
}
GROUP BY ?journal
}
{
SELECT ?journal (COUNT(?citing_work) AS ?citation_count) {
?journal wdt:P31 wd:Q21834496 .
?work wdt:P1433 ?journal .
?citing_work wdt:P2860 ?work .
}
GROUP BY ?journal
}
}
} SERVICE wikibase:label { bd:serviceParam wikibase:language "en,da,de,es,fr,jp,nl,no,ru,sv,zh" . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?citation_count"):::projected
v4("?citing_work")
v1("?journal"):::projected
v2("?work")
v3("?work_count"):::projected
c8(["en,da,de,es,fr,jp,nl,no,ru,sv,zh"]):::literal
c2(["wd:Q21834496"]):::iri
c6(["bd:serviceParam"]):::iri
v1 --"wdt:P31"--> c2
v2 --"wdt:P1433"--> v1
bind1[/"count(?work)"/]
v2 --o bind1
bind1 --as--o v3
v1 --"wdt:P31"--> c2
v2 --"wdt:P1433"--> v1
v4 --"wdt:P2860"--> v2
bind3[/"count(?citing_work)"/]
v4 --o bind3
bind3 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end