What is {nominated for} of {The Treasure of the Sierra Madre} that is {nominee} is {Walter Huston} ?
In what category did Walter Huston get nominated for The Treasure of the Sierra Madre?
For what Walter Huston nominated for The Treasure of the Sierra Madre?
SELECT ?b WHERE { ?d property:nominee resource:Walter_Huston . ?d property:nominated_for ?b . resource:The_Treasure_of_the_Sierra_Madre property:nominated_for ?d }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q251559> .
?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/P2453> <http://wikidata.dbpedia.org/resource/Q162621>
} 

SELECT ?obj WHERE { wd:Q251559 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P2453 wd:Q162621 }