What is {award received} of {John Huston} that is {for work} is {The Treasure of the Sierra Madre} ?
Which award did John Huston receive for his work on The Treasure of the Sierra Madre?
What was the award received by John Huston for his work The Treasure of the Sierra Madre?
SELECT ?h WHERE { resource:John_Huston property:award_received ?a . ?a property:for_work resource:The_Treasure_of_the_Sierra_Madre . ?a property:award_received ?h }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q51575> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P1686> <http://wikidata.dbpedia.org/resource/Q251559>
} 

SELECT ?obj WHERE { wd:Q51575 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P1686 wd:Q251559 }