Question: When Andrew Jackson was President and held his governmental position from after 1823, who was the Secretary of State ?
Answer(s):
answer: Martin Van Buren
answer: Louis McLane
answer: James Alexander Hamilton
answer: Edward Livingston

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:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.from ?num .
FILTER (?num > "1823"^^xsd:dateTime) . 
}