Question: Which movie is shorter, National Treasure: Book of Secrets or Back to the Future (the one whose release region is United Kingdom)?
Choices:
National Treasure: Book of Secrets
The Muppets
Holes
John Carter
The Flintstones
Alvin and the Chipmunks: Chipwrecked
Old Dogs
Back to the Future
Enchanted
G-Force
Program:
function: Find
inputs: National Treasure: Book of Secrets
function: Find
inputs: United Kingdom
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Back to the Future
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "National Treasure: Book of Secrets" .  } UNION { ?e <pred:name> "Back to the Future" . ?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: Back to the Future