what is the {start time} for {Tokyo} has {twinned administrative body} as {Moscow} ?
Tell me when Tokyo became Moscow's twin city.
When did Tokyo become the twin city of Moscow?
SELECT ?m WHERE { ?h property:twinned_administrative_body resource:Moscow . resource:Tokyo property:twinned_administrative_body ?h . ?h property:start_time ?m }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1490> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q649> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q1490 p:P190 ?s . ?s ps:P190 wd:Q649 . ?s pq:P580 ?value}