what is the {end time} for {Johannes V. Jensen} has {residence} as {Viborg} ?
When did Johannes V Jensen cease to reside in Viborg?
SELECT ?value WHERE { wd:Q159552 p:P551 ?s . ?s ps:P551 wd:Q21176 . ?s pq:P582 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q159552> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q21176> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

On what date did Johannes V Jensen stop residing in Viborg?