Question: Which Chinese Dynasty had it's capital at Nanjing?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q16666 wdt:P1376 ?obj . ?obj wdt:P31 wd:Q12857432 }