what is the {end time} for {Raj Kapoor} has {country of citizenship} as {British Raj} ?
In what year did Raj Kapoor of the British Raj die?
When did Raj Kapoor of the British Raj pass away?
SELECT ?b WHERE { resource:Raj_Kapoor property:country_of_citizenship ?f . ?f property:country_of_citizenship resource:British_India . ?f property:end_time ?b }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q55407> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P27> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q129286> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q55407 p:P27 ?s . ?s ps:P27 wd:Q129286 . ?s pq:P582 ?value}