Question: Which movie is shorter, Spy Game (the one whose original language is Arabic) or Little Women (the one that has The Moody Blues as a cast member)?
Choices: The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
Training Day
Talk to Her
Rebecca
Curse of the Golden Flower
The Towering Inferno
Spy Game
Little Women
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spy Game" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Arabic" .   } UNION { ?e <pred:name> "Little Women" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "The Moody Blues" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Arabic
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Spy Game
function: And
dependencies: 1
2
function: Find
inputs: The Moody Blues
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Little Women
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Little Women