Question: Which movie is longer, The Cardinal (the one that origins from United Kingdom) or The Hunchback of Notre Dame (the one that was nominated for Academy Award for Best Sound Mixing)?
Choices: Curse of the Golden Flower
Talk to Her
Pleasantville
A Prairie Home Companion
Rebecca
The Cardinal
Training Day
The Hunchback of Notre Dame
The Fifth Element
Rope
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Cardinal" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "The Hunchback of Notre Dame" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Sound Mixing" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Cardinal
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Sound Mixing
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: The Hunchback of Notre Dame
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The Hunchback of Notre Dame