Question: Which is shorter, Die Hard that was nominated for an Academy Award for Best Sound Editing or The Graduate?
Choices:
A Prairie Home Companion
The Towering Inferno
Die Hard
Training Day
The Hunchback of Notre Dame
The Graduate
Rebecca
The Fifth Element
Talk to Her
Curse of the Golden Flower
Program:
function: Find
inputs: Academy Award for Best Sound Editing
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Die Hard
function: And
dependencies: 1
2
function: Find
inputs: The Graduate
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Die Hard" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Sound Editing" .   } UNION { ?e <pred:name> "The Graduate" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Graduate