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