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