Question: Which is longer the English version of Slaughterhouse-Five or In the Mood for Love?
Choices:
Pleasantville
The Hunchback of Notre Dame
In the Mood for Love
A Prairie Home Companion
Rebecca
Talk to Her
Curse of the Golden Flower
The Towering Inferno
Slaughterhouse-Five
The Fifth Element
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Slaughterhouse-Five
function: And
dependencies: 1
2
function: Find
inputs: In the Mood for Love
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Slaughterhouse-Five" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "In the Mood for Love" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: In the Mood for Love