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