Question: Which movie made less at the box office, Alice in Wonderland (the one that was nominated for BAFTA Award for Best Film Music) or National Treasure (the one whose narrative location is Pennsylvania)?
Choices:
The Flintstones
Old Dogs
Holes
National Treasure
John Carter
Alice in Wonderland
National Treasure: Book of Secrets
The Muppets
Alvin and the Chipmunks: Chipwrecked
The Flintstones in Viva Rock Vegas
Program:
function: Find
inputs: BAFTA Award for Best Film Music
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 1
2
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 4
inputs: narrative location
backward
function: Find
inputs: National Treasure
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice in Wonderland" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Film Music" .   } UNION { ?e <pred:name> "National Treasure" . ?e <narrative_location> ?e_2 . ?e_2 <pred:name> "Pennsylvania" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: National Treasure