What is the {outer planet} with the {MAX(flattening)} ?
Which is the most flattening outer planet?
Which outer planet has the most flattening?
SELECT ?k WHERE { ?k property:flattening ?m . ?k rdf:type ontology:outer_planet }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q30014>.
?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/P1102>.
?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:Q30014 . ?ent wdt:P1102 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Saturn Jupiter Uranus Neptune