Question: Which movie is shorter, Hannibal (the one whose original language is Italian) or Silkwood?
Choices:
Hannibal
Training Day
A Prairie Home Companion
Rebecca
Pleasantville
The Hunchback of Notre Dame
Talk to Her
Curse of the Golden Flower
The Towering Inferno
The Fifth Element
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: Silkwood
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> "Silkwood" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hannibal