Question: Which movie is shorter, Honolulu (the one whose original language is English) or Death on the Nile (the one that was nominated for Academy Award for Best Costume Design)?
Choices:
Death on the Nile
A Prairie Home Companion
Rebecca
Training Day
Curse of the Golden Flower
Honolulu
Talk to Her
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
Answer: Honolulu
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Honolulu" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "Death on the Nile" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Costume Design" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Honolulu
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Costume Design
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Death on the Nile
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less