query-fd8e98d61c7d6b28d6e9b791a64b0b72
title: highly cited retracted papers SELECT ?work ?workLabel ?publisherLabel ?count WITH { SELECT ?work (SAMPLE(?publisher_) AS ?publisher) (COUNT(DISTINCT ?citation) AS ?count) WHERE { { ?work wdt:P31 wd:Q45182324 . } UNION { ?work wdt:P793 wd:Q7316896 . } UNION { ?work wdt:P5824 [] . } ?work wdt:P1433 / wdt:P123 ?publisher_ . ?citation wdt:P2860 ?work . } GROUP BY ?work ?workLabel ORDER BY DESC(?count) LIMIT 100 } AS %WORKS WHERE { INCLUDE %WORKS SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } 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#>
#title: highly cited retracted papers
SELECT ?work ?workLabel ?publisherLabel ?count WHERE {
{
SELECT ?work (SAMPLE(?publisher_) AS ?publisher) (COUNT(DISTINCT ?citation) AS ?count) WHERE {
{ ?work wdt:P31 wd:Q45182324 . } UNION
{ ?work wdt:P793 wd:Q7316896 . } UNION
{ ?work wdt:P5824 [] . }
?work wdt:P1433 / wdt:P123 ?publisher_ .
?citation wdt:P2860 ?work .
} GROUP BY ?work ?workLabel
ORDER BY DESC(?count)
LIMIT 100
} 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;
v4("?citation")
v6("?count"):::projected
v5("?publisher")
v3("?publisher_")
v2("?work"):::projected
a1((" "))
a2((" "))
c10(["bd:serviceParam"]):::iri
c4(["wd:Q7316896"]):::iri
c2(["wd:Q45182324"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P5824"--> a1
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P793"--> c4
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P31"--> c2
end
union0r <== or ==> union0l
end
v2 --"wdt:P1433"--> a2
a2 --"wdt:P123"--> v3
v4 --"wdt:P2860"--> v2
bind2[/"sample(?publisher_)"/]
v3 --o bind2
bind2 --as--o v5
bind3[/"count(?citation)"/]
v4 --o bind3
bind3 --as--o v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end