query-bd83b99e84e90a80f48fc1f2cb447ae3

rq turtle/ttl

Π π π?filmLabel?count > 50

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?film ?filmLabel ?count
WHERE
{

{
  SELECT ?film (COUNT(?wikipage) AS ?count)
  WHERE
  {

    ?film wdt:P31 wd:Q11424 .
    ?wikipage schema:about ?film .
    ?wikipage schema:isPartOf/wikibase:wikiGroup "wikipedia" .
  }
  GROUP BY ?film HAVING (?count > 50)
}  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?count"):::projected v2("?film"):::projected v3("?wikipage") a1((" ")) c9(["bd:serviceParam"]):::iri c11(["en"]):::literal c7(["wikipedia"]):::literal c3(["wd:Q11424"]):::iri f0[["?count > '50^^xsd:integer'"]] f0 --> v4 v2 --"wdt:P31"--> c3 v3 --"schema:about"--> v2 v3 --"schema:isPartOf"--> a1 a1 --"wikibase:wikiGroup"--> c7 bind2[/"count(?wikipage)"/] v3 --o bind2 bind2 --as--o v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end