What is {nominated for} of {Top Gun} that is {statement is subject of} is {59th Academy Awards} ?
What grant was Top Gun selected for in the 59th Academy Awards?
What award was Top Gun nominated for in the 59th Academy Awards?
SELECT ?x WHERE { ?l property:statement_is_subject_of resource:59th_Academy_Awards . ?l property:nominated_for ?x . resource:Top_Gun property:nominated_for ?l }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q110138> .
?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/Q917235>
} 

SELECT ?obj WHERE { wd:Q110138 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P805 wd:Q917235 }