Question: Does the shorter run-time belong to Madagascar: Escape 2 Africa, featuring the voice of Bernie Mac, or Kung Fu Panda 2, released in Denmark?
Choices:
Beauty and the Beast
Kung Fu Panda 2
Madagascar: Escape 2 Africa
Shrek 2
The Rescuers
Winnie the Pooh
Aladdin
WALL·E
Lilo & Stitch
Peter Pan
Program:
function: Find
inputs: Bernie Mac
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Madagascar: Escape 2 Africa
function: And
dependencies: 1
2
function: Find
inputs: Denmark
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Kung Fu Panda 2
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Madagascar: Escape 2 Africa" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Bernie Mac" .   } UNION { ?e <pred:name> "Kung Fu Panda 2" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Denmark" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Madagascar: Escape 2 Africa