Question: Who was the secretary of state, when Andrew Jackson was president, who's date of death is after May 23,1836?
Answer(s):
answer: Martin Van Buren
answer: Louis McLane
answer: James Alexander Hamilton

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0rlz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0rlz ns:government.political_appointer.appointees ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.0789n .
?x ns:people.deceased_person.date_of_death ?num .
FILTER (?num > "1836-05-23"^^xsd:dateTime) . 
}