What is {before was} of {Achaemenid Empire}, that has {closure date} is {-539-1-1} ?
gsdfghdfh
SELECT ?answer WHERE { wd:Q389688 wdt:P155 ?answer . ?answer wdt:P576 ?x FILTER(contains(?x,'-539-1-1'))}
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q389688> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P155>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P576> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <-539-1-1> . }
gsdfghdfh