query-3eef9e54483929d78882ce9a33b7afc9

rq turtle/ttl

Performers with at least 25 single releases

Use at

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#>
SELECT ?performer ?performerLabel ?singles WHERE{
{ SELECT ?performer (count(?single) AS ?singles) WHERE {
  ?single wdt:P31 wd:Q134556 .
  ?single wdt:P175 ?performer 
} GROUP BY ?performer } FILTER (?singles>=25) .
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
  }
} ORDER BY DESC(?singles) ?performerLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?performer"):::projected v2("?performerLabel"):::projected v3("?single") v5("?singles"):::projected c6(["bd:serviceParam"]):::iri c3(["wd:Q134556"]):::iri c8(["en"]):::literal f0[["?singles >= '25^^xsd:integer'"]] f0 --> v5 v3 --"wdt:P31"--> c3 v3 --"wdt:P175"--> v4 bind2[/"count(?single)"/] v3 --o bind2 bind2 --as--o v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end