Question: Who replaced Zachary Taylor as President of the United States?
Paraphrase: Who supplanted Zachary Taylor as President of the United States?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q11896 p:P39 ?s . ?s ps:P39 wd:Q11696 . ?s pq:P1365 ?value}