what is the {end time} for {Manchester} has {country} as {United Kingdom of Great Britain and Ireland} ?
When will Manchester stop being part of the United Kingdom of Great Britain and Ireland?
SELECT ?value WHERE { wd:Q18125 p:P17 ?s . ?s ps:P17 wd:Q174193 . ?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/Q18125> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P17> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q174193> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

At what time will Manchester cease being a member of the UK of Great Britain and Ireland?