Question: Was Babylon the capital of the Achaemenid Empire and  the Neo-Babylonian Empire?
SPARQL (Wikidata): ASK WHERE { wd:Q5684 wdt:P1376 wd:Q389688 . wd:Q5684 wdt:P1376 wd:Q624887 }