Question: Which movie made less at the box office, Pinocchio (the one that is cited by The Princess and the Frog) or WALL·E?
Choices:
Beauty and the Beast
WALL·E
Cinderella
Winnie the Pooh
Lilo & Stitch
Peter Pan
Pinocchio
Shrek 2
The Rescuers
Renaissance
Answer: Pinocchio
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pinocchio" . ?e_1 <cites> ?e . ?e_1 <pred:name> "The Princess and the Frog" .   } UNION { ?e <pred:name> "WALL·E" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Princess and the Frog
function: Relate
dependencies: 0
inputs: cites
forward
function: Find
inputs: Pinocchio
function: And
dependencies: 1
2
function: Find
inputs: WALL·E
function: SelectBetween
dependencies: 3
4
inputs: box office
less