Question: What political party was home to the politician who was appointed by John Quincy Adams?
Answer(s):
answer: National Republican Party
answer: Whig Party
answer: Democratic-Republican Party

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.politician.government_positions_held ?k .
?k ns:government.government_position_held.appointed_by ns:m.03_nq . 
?c ns:government.politician.party ?y .
?y ns:government.political_party_tenure.party ?x .
}