Did {Babylon} {capital of} {Achaemenid Empire} and {Neo-Babylonian Empire} ?
In regards to the Achaemenid Empire and the Neo-Babylonian Empire, was Baybylon the capital?
Was Babylon the capital of the Achaemenid Empire and  the Neo-Babylonian Empire?
ASK WHERE { resource:Babylon property:capital_of resource:Achaemenid_Empire . resource:Babylon property:capital_of resource:Neo-Babylonian_Empire }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5684> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q389688>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5684> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q624887>. } 
ASK WHERE { wd:Q5684 wdt:P1376 wd:Q389688 . wd:Q5684 wdt:P1376 wd:Q624887 }