What is {award received} of {Pan's Labyrinth} that is {statement is subject of} is {79th Academy Awards} ?
At the 79th Academy Awards, what award did Pan's Labyrinth receive?
What was the award received for Pan's Labyrinth that was the subject of the 79th Academy Awards?
SELECT ?d WHERE { resource:Pan's_Labyrinth property:award_received ?d . ?d property:statement_is_subject_of resource:79th_Academy_Awards . ?d 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/Q216006> .
?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/P805> <http://wikidata.dbpedia.org/resource/Q213699>
} 

SELECT ?obj WHERE { wd:Q216006 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P805 wd:Q213699 }