What is {nominated for} of {The Dark Knight} that is {nominee} is {Wally Pfister} ?
Wally Pfister received a nomination for The Dark Knight in which categoy?
What was Wally Pfister of the The Dark Knight nominated for?
SELECT ?k WHERE { resource:The_Dark_Knight property:nominated_for ?g . ?g property:nominated_for ?k . ?g property:nominee resource:Wally_Pfister }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q163872> .
?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/P2453> <http://wikidata.dbpedia.org/resource/Q460144>
} 

SELECT ?obj WHERE { wd:Q163872 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P2453 wd:Q460144 }