Question: Which one has a poorer box office record,  Pirates of the Caribbean: Dead Man's Chest (the one that has Johnny Depp as a cast member) or Hook ?
Choices: Hook
Alvin and the Chipmunks: Chipwrecked
Holes
The Muppets
Pirates of the Caribbean: Dead Man's Chest
John Carter
G-Force
Old Dogs
The Flintstones
National Treasure: Book of Secrets
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pirates of the Caribbean: Dead Man's Chest" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Johnny Depp" .   } UNION { ?e <pred:name> "Hook" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Johnny Depp
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Pirates of the Caribbean: Dead Man's Chest
function: And
dependencies: 1
2
function: Find
inputs: Hook
function: SelectBetween
dependencies: 3
4
inputs: box office
less
Answer: Hook