Question: What is the elected office with the longest term length?
Paraphrase: Which elected office has the longest term?
SPARQL (Wikidata): select ?ent where { ?ent wdt:P31 wd:Q17279032 . ?ent wdt:P2097 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Answer: President of Syria, President of the Confederate States, President of Bolivia, President of Vietnam, Governor of Saint Petersburg