what is the {statement is subject of} for {The Deer Hunter} has {award received} as {Academy Award for Best Picture} ?
What was the subject of the Academy Award for Best Picture that was received by The Deer Hunter?
For what subject did The Deer Hunter receive the Academy Award for Best Picture?
SELECT ?a WHERE { ?u property:statement_is_subject_of ?a . ?u property:award_received resource:Academy_Award_for_Best_Picture . resource:The_Deer_Hunter property:award_received ?u }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q201674> .
?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> <http://wikidata.dbpedia.org/resource/Q102427> .
?statement <http://www.wikidata.org/entity/P805> ?value. 
} 

SELECT ?value WHERE { wd:Q201674 p:P166 ?s . ?s ps:P166 wd:Q102427 . ?s pq:P805 ?value}