what is the {end time} for {Republic of Bashkortostan} has {located in the administrative territorial entity} as {Russian Soviet Federative Socialist Republic} ?
When did the Republic of Bashkortostan cease to be under the administrative territorial entity of the Russian Soviet Federative Socialist Republic?
SELECT ?value WHERE { wd:Q5710 p:P131 ?s . ?s ps:P131 wd:Q2184 . ?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/Q5710> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2184> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

When did the Republic of Bashkortostan terminate to be beneath the regulatory regional substance of the Russian Soviet Federative Communist Republic?