What is {located in the administrative territorial entity} of {Krasnodar} that is {end time} is {1934-1-9} ?
What was in Krasnodar before 1934?
What was located in Krasnodar prior to 1934?
SELECT ?j WHERE { ?o property:located_in_the_administrative_territorial_entity ?j . resource:Krasnodar property:located_in_the_administrative_territorial_entity ?o . FILTER ( CONTAINS ( YEAR ( ?h ) , '1934' ) ) . ?o property:end_time ?h }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3646> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1934-1-9>
} 

SELECT ?obj WHERE { wd:Q3646 p:P131 ?s . ?s ps:P131 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1934')) }