Question: Which made less money at the box office, Back to the Future Part II or Pirates of the Caribbean: Dead Man's Chest (the one that has Geoffrey Rush as a cast member)?
Choices:
Holes
Back to the Future Part II
Alvin and the Chipmunks: Chipwrecked
The Flintstones in Viva Rock Vegas
The Flintstones
Old Dogs
The Muppets
National Treasure: Book of Secrets
John Carter
Pirates of the Caribbean: Dead Man's Chest
Answer: Back to the Future Part II
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Back to the Future Part II" .  } UNION { ?e <pred:name> "Pirates of the Caribbean: Dead Man's Chest" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Geoffrey Rush" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Back to the Future Part II
function: Find
inputs: Geoffrey Rush
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Pirates of the Caribbean: Dead Man's Chest
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
less