Question: Which movie is shorter, Persepolis or Ice Age (the one whose release region is Russia)?
Choices:
Beauty and the Beast
Renaissance
Aladdin
Peter Pan
The Rescuers
Persepolis
Lilo & Stitch
Shrek 2
Ice Age
Winnie the Pooh
Answer: Ice Age
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Persepolis" .  } UNION { ?e <pred:name> "Ice Age" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Russia" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Persepolis
function: Find
inputs: Russia
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Ice Age
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less