what is the {end time} for {Tiraspol} has {country} as {Soviet Union} ?
At what time did Tiraspol leave the Soviet Union?
When did Tiraspol leave the Soviet Union?
SELECT ?q WHERE { ?e property:end_time ?q . ?e property:country resource:Soviet_Union . resource:Tiraspol property:country ?e }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q132572> .
?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/Q15180> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q132572 p:P17 ?s . ?s ps:P17 wd:Q15180 . ?s pq:P582 ?value}