query-3909daa265776d6bcad368c1bcf9fc90

rq turtle/ttl

most cited Zika paper:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:BubbleChart
#Which Zika publication is cited the most? Counting publications that cite other publications (expressed with p2860)
SELECT ?publication ?publicationLabel (COUNT(?publication) AS ?count)
WHERE
{
  { ?item wdt:P921 wd:Q202864 . } UNION { ?item wdt:P921 wd:Q8071861 . }  
  ?item wdt:P2860 ?publication .
    SERVICE wikibase:label {
        bd:serviceParam wikibase:language "en" .
       ?publication rdfs:label ?publicationLabel
    }
}
GROUP BY ?publication ?publicationLabel
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?count") v2("?item") v3("?publication"):::projected v4("?publicationLabel"):::projected c6(["bd:serviceParam"]):::iri c8(["en"]):::literal c2(["wd:Q202864"]):::iri c3(["wd:Q8071861"]):::iri subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P921"--> c3 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P921"--> c2 end union0r <== or ==> union0l end v2 --"wdt:P2860"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 v3 --"rdfs:label"--> v4 end bind1[/"count(?publication)"/] v3 --o bind1 bind1 --as--o v5