what is the {end time} for {Novosibirsk} has {located in the administrative territorial entity} as {West Siberian Krai} ?
Till when was Novosibirsk located in the administrative territory of West Siberian Krai?
When did Novosibirsk stop being located in the administrative territorial entity of West Siberian Krai?
SELECT ?i WHERE { ?q property:located_in_the_administrative_territorial_entity resource:West_Siberian_Krai . ?q property:end_time ?i . resource:Novosibirsk property:located_in_the_administrative_territorial_entity ?q }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q883> .
?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> <http://wikidata.dbpedia.org/resource/Q4186485> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q883 p:P131 ?s . ?s ps:P131 wd:Q4186485 . ?s pq:P582 ?value}