Question: Who replaced John Quincy Adams as United States senator?
Paraphrase: Which senator took over from John Quincy Adams as United States senator?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q11816 p:P39 ?s . ?s ps:P39 wd:Q13217683 . ?s pq:P1366 ?value}