Question: Which is the box office loser: Shrek the Third, featuring the voice of Antonio Banderas, or Hercules, with the voice of Roger Bart?
Choices:
Hercules
Renaissance
Lilo & Stitch
Winnie the Pooh
WALL·E
Peter Pan
Aladdin
The Rescuers
Shrek the Third
Beauty and the Beast
Answer: Hercules
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shrek the Third" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Antonio Banderas" .   } UNION { ?e <pred:name> "Hercules" . ?e <voice_actor> ?e_2 . ?e_2 <pred:name> "Roger Bart" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Antonio Banderas
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Shrek the Third
function: And
dependencies: 1
2
function: Find
inputs: Roger Bart
function: Relate
dependencies: 4
inputs: voice actor
backward
function: Find
inputs: Hercules
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
less