Question: What Chinese dynasty replaced the Yuan dynasty?
Paraphrase: What dynasty came after the Yuan in China?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q7313 wdt:P1366 ?obj . ?obj wdt:P31 wd:Q12857432 } 
Answer: Northern Yuan Dynasty