Question: Who replaced Mohammed Omar as the Emir of Afghanistan?
Paraphrase: Who was Mohammed Omar's replacement as the Emir of Afghanistan?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q193968 p:P39 ?s . ?s ps:P39 wd:Q17323614 . ?s pq:P1365 ?value}