What is the {Chinese dynasty} for {replaces} of {Yuan dynasty}
What was the Chinese dynasty after the Yuan called?
What Chinese dynasty followed the Yuan dynasty?
SELECT DISTINCT ?f WHERE { resource:Yuan_Empire property:replaces ?f . ?f rdf:type ontology:Chinese_dynasty }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7313> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1365> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q12857432> } 
 select distinct ?obj where { wd:Q7313 wdt:P1365 ?obj . ?obj wdt:P31 wd:Q12857432 } 
Southern Song Dynasty Song dynasty