Question: What politician who ended his position before March 4, 1865 was vice president under Lincoln?
Answer(s):
answer: Andrew Johnson
answer: Hannibal Hamlin

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0gzh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0gzh ns:government.us_president.vice_president ?x .
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.to ?num .
FILTER (?num < "1865-03-04"^^xsd:dateTime) . 
}