Question: Who replaces J.J. Thompson as the President of the Royal Society?
Paraphrase: Tell me who took the place of J. J. Thompson as Royal society president.
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q47285 p:P39 ?s . ?s ps:P39 wd:Q55713110 . ?s pq:P1365 ?value}