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