what is the {start time} for {Antwerp} has {twinned administrative body} as {Shanghai} ?
Since when Andwerp twinned Shanghai administrative body?
From when Antwerp twinned Shanghai administrative body.
SELECT ?i WHERE { ?j property:twinned_administrative_body resource:Shanghai . resource:Antwerp property:twinned_administrative_body ?j . ?j property:start_time ?i }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12892> .
?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/Q8686> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q12892 p:P190 ?s . ?s ps:P190 wd:Q8686 . ?s pq:P580 ?value}