what is the {end time} for {Faina Ranevskaya} has {employer} as {Mossovet Theatre} ?
At what time did Faina Ranevskaya stop working at the Mossovet Theatre?
When did Faina Ranevskaya stop working at the Mossovet Theatre?
SELECT ?w WHERE { ?k property:employer resource:Mossovet_Theatre . ?k property:end_time ?w . resource:Faina_Ranevskaya property:employer ?k }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q470466> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P108> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q571291> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q470466 p:P108 ?s . ?s ps:P108 wd:Q571291 . ?s pq:P582 ?value}