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