What is {start time} and {end time} of {{Barnaul} has {located in the administrative territorial entity} as {West Siberian Krai}}
When did Barnaul start and end?
what is the start time and end time of barnaul  which is located  in the administrative  territorial entity  as west sibirean krai?
SELECT ?n ?v WHERE { resource:Barnaul property:located_in_the_administrative_territorial_entity ?q . ?q property:located_in_the_administrative_territorial_entity resource:West_Siberian_Krai . ?q property:end_time ?v . ?q property:start_time ?n }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q6014> . ?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/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q6014 p:P131 ?s . ?s ps:P131 wd:Q4186485 . ?s pq:P580 ?value1 . ?s pq:P582 ?value2 }