what is the {for work} for {Vivien Leigh} has {award received} as {Academy Award for Best Actress} ?
What is the movie name did Vivien Leigh recieve the Academy Award for Best Actress?
For which movie did Vivien Leigh recieve the Academy Award for Best Actress?
SELECT ?f WHERE { ?n property:for_work ?f . resource:Vivien_Leigh property:award_received ?n . ?n property:award_received resource:Academy_Award_for_Best_Actress }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q129429> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q103618> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q129429 p:P166 ?s . ?s ps:P166 wd:Q103618 . ?s pq:P1686 ?value}