Question: All Quiet on the Western Front, an Academy Award Best Picture winner, has what connection to the Academy Award for Best Writing, Adapted Screenplay?
Choices:
musical conductor
tributary
official residence
distribution
eye color
conflict
nominated for
position held
depicts
quotes work
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "All Quiet on the Western Front" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Picture" . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Picture
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: All Quiet on the Western Front
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelation
dependencies: 3
4