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