Question: Did Peter Pan, featuring the voice of June Foray, or Treasure Planet have better box office sales?
Choices:
Treasure Planet
Cinderella
Beauty and the Beast
Lilo & Stitch
Renaissance
WALL·E
Shrek 2
Aladdin
Peter Pan
The Rescuers
Answer: Treasure Planet
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Peter Pan" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "June Foray" .   } UNION { ?e <pred:name> "Treasure Planet" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: June Foray
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Peter Pan
function: And
dependencies: 1
2
function: Find
inputs: Treasure Planet
function: SelectBetween
dependencies: 3
4
inputs: box office
greater