Question: Which movie is longer, Superman II: The Richard Donner Cut or The Merry Widow (the one that origins from Austria)?
Choices:
Curse of the Golden Flower
A Prairie Home Companion
The Fifth Element
Talk to Her
The Merry Widow
Rebecca
Superman II: The Richard Donner Cut
Pleasantville
The Hunchback of Notre Dame
Training Day
Answer: Superman II: The Richard Donner Cut
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Superman II: The Richard Donner Cut" .  } UNION { ?e <pred:name> "The Merry Widow" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Austria" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Superman II: The Richard Donner Cut
function: Find
inputs: Austria
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: The Merry Widow
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater