Question: Which award's nominees include The White Ribbon and Hamlet, which was an Academy Award nominee for Best Director?
Choices: Grammy Award for Best Metal Performance
Academy Award for Best Supporting Actress
Royal Victorian Chain
Grammy Award for Best Reggae Album
Academy Award for Best Cinematography
Golden Globe Award for Best Foreign Language Film
Academy Award for Best Actor
Academy Award for Best Foreign Language Film
Academy Award for Best Production Design
Golden Globe Award for Best Animated Feature Film
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "award" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "The White Ribbon" .  ?e_2 <nominated_for> ?e . ?e_2 <pred:name> "Hamlet" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Director" .  }
Program:
function: Find
inputs: The White Ribbon
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: award
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 3
inputs: nominated for
backward
function: Find
inputs: Hamlet
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: nominated for
forward
function: FilterConcept
dependencies: 7
inputs: award
function: And
dependencies: 2
8
function: What
dependencies: 9
Answer: Golden Globe Award for Best Foreign Language Film