Question: Between Pirates of the Caribbean: Dead Man's Chest, an Academy Award nominee for Best Sound Mixing, or Around the World in 80 Days, with Kathy Bates as a cast member, which was the box office winner?
Choices:
G-Force
Pirates of the Caribbean: Dead Man's Chest
National Treasure: Book of Secrets
Holes
John Carter
The Muppets
The Flintstones in Viva Rock Vegas
Alvin and the Chipmunks: Chipwrecked
Around the World in 80 Days
Old Dogs
Answer: Pirates of the Caribbean: Dead Man's Chest
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pirates of the Caribbean: Dead Man's Chest" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Sound Mixing" .   } UNION { ?e <pred:name> "Around the World in 80 Days" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Kathy Bates" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Sound Mixing
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Pirates of the Caribbean: Dead Man's Chest
function: And
dependencies: 1
2
function: Find
inputs: Kathy Bates
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Around the World in 80 Days
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
greater