What is {nominated for} of {Claude Rains} that is {for work} is {Notorious} ?
Notorious's Claude Rains was nominated in what category?
What was Claude Rains nominated for in Notorious?
SELECT ?m WHERE { resource:Claude_Rains property:nominated_for ?y . ?y property:nominated_for ?m . ?y property:for_work resource:Notorious }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q318734> .
?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/Q587419>
} 

SELECT ?obj WHERE { wd:Q318734 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P1686 wd:Q587419 }