Question: Which movie is longer, The Simpsons Movie or Kung Fu Panda (the one whose release region is Ukraine)?
Choices: The Simpsons Movie
WALL·E
Aladdin
The Rescuers
Shrek 2
Lilo & Stitch
Peter Pan
Beauty and the Beast
Winnie the Pooh
Kung Fu Panda
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Simpsons Movie" .  } UNION { ?e <pred:name> "Kung Fu Panda" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Ukraine" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Simpsons Movie
function: Find
inputs: Ukraine
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Kung Fu Panda
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Kung Fu Panda