What is {nominated for} of {Judi Dench} that is {for work} is {Notes on a Scandal} ?
In Notes on a scandal what nomination did Judy Dench receive?
What was Judi Dench nominated for in Notes on a Scandal?
SELECT ?r WHERE { ?t property:nominated_for ?r . resource:Judi_Dench property:nominated_for ?t . ?t property:for_work resource:Notes_on_a_Scandal }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q28054> .
?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/Q756849>
} 

SELECT ?obj WHERE { wd:Q28054 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P1686 wd:Q756849 }