What is {award received} of {Gandhi} that is {winner} is {John Briley} ?
John Briley won what award for his work on the movie Gandhi?
What award did John Briley win for his work on the movie Gandhi?
SELECT ?z WHERE { ?d property:winner resource:John_Briley . ?d property:award_received ?z . resource:Gandhi property:award_received ?d }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q202211> .
?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/P1346> <http://wikidata.dbpedia.org/resource/Q1699413>
} 

SELECT ?obj WHERE { wd:Q202211 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P1346 wd:Q1699413 }