query-984fa408d4aae69b7aa7548f6739a48d

rq turtle/ttl

Most cited with a SoundCloud ID

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?author1 ?author1Label (count(?citing_work) AS ?number_of_citations)  (group_concat(?citing_work_label; separator=" // ") as ?citing_works)  WHERE {
  ?work wdt:P50 ?author1 .
  ?author1 wdt:P3040 ?soundcloud .
  ?citing_work wdt:P2860 ?work .
  service wikibase:label { bd:serviceParam wikibase:language "en" . } 
  ?citing_work rdfs:label ?citing_work_label . filter (lang(?citing_work_label) = 'en')
} 
GROUP BY ?author1 ?author1Label
ORDER BY DESC(?number_of_citations)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?author1"):::projected v6("?citing_work"):::projected v2("?citing_work_label"):::projected v7("?citing_works") v7("?number_of_citations") v5("?soundcloud") v3("?work") c6(["bd:serviceParam"]):::iri c1(["en"]):::literal f0[["?citing_work_label = 'en'"]] f0 --> v2 v3 --"wdt:P50"--> v4 v4 --"wdt:P3040"--> v5 v6 --"wdt:P2860"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c1 end v6 --"rdfs:label"--> v2 bind3[/"count(?citing_work)"/] v6 --o bind3 bind3 --as--o v7 bind4[/"?citing_work_label"/] v2 --o bind4 bind4 --as--o v7