Question: Which of the politicians involved in the Israeli Palestinain conflict ended his/her tenure prior to 2005?
Answer(s):
answer: Menachem Begin
answer: Ariel Sharon
answer: Shimon Peres

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0cj5y)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0cj5y ns:time.event.people_involved ?x .
?x ns:government.politician.party ?c .
?c ns:government.political_party_tenure.to ?num .
FILTER (?num < "2005"^^xsd:dateTime) . 
}