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