Question: What is the relationship between All Quiet on the Western Front, which was nominated for an Academy Award fo Best Director, and the National Film Registry?
Choices:
influenced by
has quality
godparent
original film format
performer
winner
award received
natural product of taxon
update method
professional or sports partner
Answer: award received
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "All Quiet on the Western Front" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Director" . ?e_2 <pred:name> "National Film Registry" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: All Quiet on the Western Front
function: And
dependencies: 1
2
function: Find
inputs: National Film Registry
function: QueryRelation
dependencies: 3
4