Question: When was Shanghai twinned with Istanbul?
Paraphrase: What is the date that Shanghai and Istanbul were twinned?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q8686 p:P190 ?s . ?s ps:P190 wd:Q406 . ?s pq:P580 ?value}