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