Question: Who was elected president of the Philippines and ended his or her government service most recently?
Answer(s):
answer: Gloria Macapagal-Arroyo

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.05v8c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05v8c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.060c4 .
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.to ?num .
}
ORDER BY DESC(?num) LIMIT 1