Question: Who has held a government position until 4-1-1901 and has served as Philippines elected president?
Answer(s):
answer: Emilio Aguinaldo

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 "1901-04-01"^^xsd:dateTime . 
}