What is {instance of} of {Babylon} that is {end time} is {-1792-0-0} ?
What is instance of Babylon that has end time is -1792-0-0 ?
SELECT ?obj WHERE { wd:Q5684 p:P31 ?s . ?s ps:P31 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1792')) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5684> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <-1792-0-0>
} 

Name the Babylon instance that ended -1972-0-0.