what is the {start time} for {Almaty} has {capital of} as {Almaty Region} ?
On what day did almaty state being the capitol of the almaty region?
When did Almaty start being the capital of the Almaty Region?
SELECT ?i WHERE { resource:Almaty property:capital_of ?o . ?o property:start_time ?i . ?o property:capital_of resource:Almaty_Region }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q35493> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q186466> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q35493 p:P1376 ?s . ?s ps:P1376 wd:Q186466 . ?s pq:P580 ?value}