Question: Which is shorter, Alexander the Great, distributed by United Artists,  or The Merry Widow originally in German?
Choices:
Pleasantville
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
The Merry Widow
The Towering Inferno
The Fifth Element
Rebecca
Training Day
The Hunchback of Notre Dame
Program:
function: Find
inputs: United Artists
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Alexander the Great
function: And
dependencies: 1
2
function: Find
inputs: German
function: Relate
dependencies: 4
inputs: original language of film or TV show
backward
function: Find
inputs: The Merry Widow
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alexander the Great" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "United Artists" .   } UNION { ?e <pred:name> "The Merry Widow" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "German" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Merry Widow