Question: When did Bergen stop being controlled by a union between Sweden and Norway?
Paraphrase: Name the time at which Bergen was no longer controlled by a Sweden/Norway union.
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q26793 p:P17 ?s . ?s ps:P17 wd:Q62589 . ?s pq:P582 ?value}