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