Question: when did new york shares border with ontario?
Paraphrase: In what time did New York and Ontario share a border?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q1384 p:P47 ?s . ?s ps:P47 wd:Q1904 . ?s pq:P580 ?value}