Question: What state was represented by the politician nominated into their position by John Quincy Adams?
Answer(s):
answer: Kentucky

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.government_positions_held ?y .
?y ns:government.government_position_held.district_represented ?x .
?x ns:common.topic.notable_types ns:m.0kpys4 .
}