Question: Which movie is longer, The Hangover (the one whose release region is Lithuania) or Hyde Park on Hudson?
Choices:
Pleasantville
The Hunchback of Notre Dame
The Hangover
Talk to Her
Hyde Park on Hudson
The Fifth Element
Training Day
Rebecca
Curse of the Golden Flower
A Prairie Home Companion
Program:
function: Find
inputs: Lithuania
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Hangover
function: And
dependencies: 1
2
function: Find
inputs: Hyde Park on Hudson
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hangover" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Lithuania" .   } UNION { ?e <pred:name> "Hyde Park on Hudson" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Hangover