What is the {legal state} with the {MAX(life expectancy)} ?
Which legal station has long operating life?
Which legal station has high life expectancy?
SELECT ?t WHERE { ?t rdf:type ontology:Rechtsstaat . ?t property:life_expectancy ?g }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q4209223>.
?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/P2250>.
?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:Q4209223 . ?ent wdt:P2250 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Austria Brazil Senegal