Question: Which movie made less at the box office, Beauty and the Beast (the one that has Stanley Tucci as a cast member) or Pirates of the Caribbean: Dead Man's Chest (the one that was nominated for BAFTA Award for Best Makeup and Hair)?
Choices:
John Carter
The Flintstones
National Treasure: Book of Secrets
Alvin and the Chipmunks: Chipwrecked
Old Dogs
Beauty and the Beast
The Flintstones in Viva Rock Vegas
Pirates of the Caribbean: Dead Man's Chest
G-Force
Holes
Program:
function: Find
inputs: Stanley Tucci
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Find
inputs: BAFTA Award for Best Makeup and Hair
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Pirates of the Caribbean: Dead Man's Chest
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beauty and the Beast" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Stanley Tucci" .   } UNION { ?e <pred:name> "Pirates of the Caribbean: Dead Man's Chest" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "BAFTA Award for Best Makeup and Hair" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pirates of the Caribbean: Dead Man's Chest