Question: What position did Carl Gustaf Emil Mannerheim have until he was replaced by Juho Kusti Paasikivi?
Paraphrase: What role did Carl Gustaf Emil Mannerheim occupy until Juho Kusti Paasikivi took over?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q152306 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q202171 }