What is the {inner planet} with the {MAX(orbital eccentricity)} ?
What planet has the highest orbital eccentricity?
which inner planet has the highest orbital eccentricity?
SELECT ?o WHERE { ?o rdf:type ontology:inner_planet . ?o property:orbital_eccentricity ?z }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3504248>.
?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/P1096>.
?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:Q3504248 . ?ent wdt:P1096 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Mercury Earth Venus