Question: Which movie is shorter, Spy Game (the one whose original language is Arabic) or Gangs of New York (the one that is a notable work of Daniel Day-Lewis)?
Choices: Gangs of New York
Curse of the Golden Flower
Pleasantville
Talk to Her
Rebecca
The Hunchback of Notre Dame
Training Day
Spy Game
The Fifth Element
The Towering Inferno
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> "Gangs of New York" . ?e_2 <notable_work> ?e . ?e_2 <pred:name> "Daniel Day-Lewis" .  } ?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: Daniel Day-Lewis
function: Relate
dependencies: 4
inputs: notable work
forward
function: Find
inputs: Gangs of New York
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Spy Game