Question: Which is shorter, Kung Fu Panda 2 released in Indonesia or Waltz with Bashir?
Choices:
The Rescuers
WALL·E
Peter Pan
Beauty and the Beast
Renaissance
Lilo & Stitch
Shrek 2
Aladdin
Waltz with Bashir
Winnie the Pooh
Program:
function: Find
inputs: Indonesia
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Kung Fu Panda 2
function: And
dependencies: 1
2
function: Find
inputs: Waltz with Bashir
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kung Fu Panda 2" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Indonesia" .   } UNION { ?e <pred:name> "Waltz with Bashir" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Waltz with Bashir