Question: When did Barnaul became an administrative territorial entity of Altai Krai and when did it end?
Paraphrase: When did Barnaul grew to become an administrative territorial entity of Altai Krai and when did it end?
SPARQL (Wikidata): SELECT ?value1 ?value2 WHERE { wd:Q6014 p:P131 ?s . ?s ps:P131 wd:Q5942 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }