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