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