Question: Who was the 17th president after serving as vice president under Lincoln?
Answer(s):
answer: Andrew Johnson

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.us_president.presidency_number "17" . 
}