query-99b9c6ce826f344f0348ec1369e88cd0
Films by number of Wikipedia languages parts. This is my first time using the query, can you help? ?count and ?wikipage to the Select statement, it stops working and only does once I hide the ?filmLabelHi, I want to know all films with Wikipedia articles in more than 50 languages, but my query result doesn't show labels. If I add
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?film (count(?wikipage) AS ?count) WHERE {
?film wdt:P31 wd:Q11424.
?wikipage schema:about ?film .
?wikipage schema:isPartOf/wikibase:wikiGroup "wikipedia" .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
} GROUP BY ?film HAVING (?count > 50) ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count")
v2("?film"):::projected
v3("?wikipage"):::projected
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
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end
bind2[/"count(?wikipage)"/]
v3 --o bind2
bind2 --as--o v4