What is {award received} of {Ian McKellen} that is {for work} is {Gods and Monsters} ?
What is the name of the award Ian McKellen get for his work, 'Gods and Monsters'?
Which award did Ian McKellen receive for his work 'Gods and Monsters'?
SELECT ?c WHERE { ?d property:award_received ?c . ?d property:for_work resource:Gods_and_Monsters . resource:Ian_McKellen 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/Q170510> .
?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/Q686533>
} 

SELECT ?obj WHERE { wd:Q170510 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P1686 wd:Q686533 }