What is {nominated for} of {Joel Grey} that is {statement is subject of} is {33rd Tony Awards} ?
What was the award that Joel Grey was nominated for in the 33rd Tony Awards?
What award was Joel Grey nominated for in the 33rd Tony Awards?
SELECT ?r WHERE { ?z property:nominated_for ?r . resource:Joel_Grey property:nominated_for ?z . ?z property:statement_is_subject_of resource:33rd_Tony_Awards }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q316641> .
?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/P805> <http://wikidata.dbpedia.org/resource/Q4635303>
} 

SELECT ?obj WHERE { wd:Q316641 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P805 wd:Q4635303 }