Question: What was China previous dynasty before Yuan ?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P1366 wd:Q7313 . ?sbj wdt:P31 wd:Q50068795 }