Question: Who got replaced by Ayman al-Zawahiri?
Paraphrase: Who was Ayman al - Zawahiri's replacement?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P1366 wd:Q186316 . ?sbj wdt:P31 wd:Q5 } 
Answer: Osama bin Laden