Question: Which Secretary of State under Andrew Jackson belonged to the Democratic-Republican Party?
Answer(s):
answer: Edward Livingston
answer: Martin Van Buren

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.party ?c .
?c ns:government.political_party_tenure.party ns:m.07wf9 . 
}