what is the {point in time} for {Sergei Korolev} has {award received} as {Medal \In Commemoration of the 800th Anniversary of Moscow\} ?
When was the Medal in Commemoration of the 800th Anniversary of Moscow given to Sergei Korolev?
When did Sergei Korolev receive the Medal in Commemoration of the 800th Anniversary of Moscow?
SELECT ?h WHERE { ?y property:award_received resource:Medal_"In_Commemoration_of_the_800th_Anniversary_of_Moscow" . ?y property:point_in_time ?h . resource:Sergei_Korolev property:award_received ?y }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q170842> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2634074> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

SELECT ?value WHERE { wd:Q170842 p:P166 ?s . ?s ps:P166 wd:Q2634074 . ?s pq:P585 ?value}