What is the {South Australian House of Assembly by-election} with the {MAX(ballots cast)} ?
Which South Australian House of Assembly by-election had the most ballots cast?
Which South Australian House of Assembly by-election had the most ballots cast?
SELECT ?r WHERE { ?r property:ballots_cast ?p . ?r rdf:type ontology:South_Australian_House_of_Assembly_by-election }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q51879476>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1868>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .}
ORDER BY DESC(?obj)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q51879476 . ?ent wdt:P1868 ?obj } ORDER BY DESC(?obj)LIMIT 5 
2014 Fisher state by-election 2015 Davenport state by-election 2012 Port Adelaide state by-election 2019 Cheltenham state by-election 1992 Kavel state by-election