what is the {start time} for {Sochi} has {head of government} as {Anatoly Pakhomov} ?
At what point was Anatoly Pakhomov the Sochi government head?
When was Anatoly Pakhomov the head of government for Sochi?
SELECT ?q WHERE { ?k property:head_of_government resource:Anatoly_Pakhomov . resource:Sochi property:head_of_government ?k . ?k property:start_time ?q }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q39420> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P6> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q4265869> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q39420 p:P6 ?s . ?s ps:P6 wd:Q4265869 . ?s pq:P580 ?value}