Question: Which movie cost less to make, Alice in Wonderland (the one whose publication date is 1951-07-28) or Happy Feet (the one that was nominated for BAFTA Award for Best Animated Film)?
Choices: Winnie the Pooh
Renaissance
Lilo & Stitch
Aladdin
The Rescuers
Beauty and the Beast
Happy Feet
WALL·E
Alice in Wonderland
Peter Pan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice in Wonderland" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1951-07-28"^^xsd:date . } UNION { ?e <pred:name> "Happy Feet" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Animated Film" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Alice in Wonderland
function: FilterDate
dependencies: 0
inputs: publication date
1951-07-28
=
function: Find
inputs: BAFTA Award for Best Animated Film
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: Happy Feet
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: cost
less
Answer: Alice in Wonderland