Question: Which movie is shorter, Hannibal (the one whose original language is Italian) or Haywire?
Choices:
A Prairie Home Companion
Rebecca
Hannibal
Haywire
Curse of the Golden Flower
The Fifth Element
The Towering Inferno
Pleasantville
The Hunchback of Notre Dame
Training Day
Program:
function: Find
inputs: Italian
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Hannibal
function: And
dependencies: 1
2
function: Find
inputs: Haywire
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hannibal" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Italian" .   } UNION { ?e <pred:name> "Haywire" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Haywire