What is {nominated for} of {Helen Mirren} that is {for work} is {Gosford Park} ?
For what work has Helen Miren been nominated?
Tell me what work Helen Miren was nominated for?
SELECT ?d WHERE { resource:Helen_Mirren property:nominated_for ?z . ?z property:nominated_for ?d . ?z property:for_work resource:Gosford_Park }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q349391> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1411> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P1686> <http://wikidata.dbpedia.org/resource/Q165392>
} 

SELECT ?obj WHERE { wd:Q349391 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P1686 wd:Q165392 }