Question: Which movie cost less to make, Shrek 2 (the one that was nominated for Academy Award for Best Animated Feature) or Treasure Planet?
Choices: Peter Pan
Cinderella
The Rescuers
Aladdin
Lilo & Stitch
Shrek 2
Beauty and the Beast
Treasure Planet
Winnie the Pooh
Renaissance
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shrek 2" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Animated Feature" .   } UNION { ?e <pred:name> "Treasure Planet" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Animated Feature
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Shrek 2
function: And
dependencies: 1
2
function: Find
inputs: Treasure Planet
function: SelectBetween
dependencies: 3
4
inputs: cost
less
Answer: Treasure Planet