Question: Which made less at the box office, The World Is Not Enough (the one that has John Cleese as a cast member) or The Shawshank Redemption?
Choices:
The Towering Inferno
Rebecca
The Hunchback of Notre Dame
The Shawshank Redemption
Curse of the Golden Flower
The World Is Not Enough
Pleasantville
A Prairie Home Companion
The Fifth Element
Talk to Her
Program:
function: Find
inputs: John Cleese
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The World Is Not Enough
function: And
dependencies: 1
2
function: Find
inputs: The Shawshank Redemption
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The World Is Not Enough" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Cleese" .   } UNION { ?e <pred:name> "The Shawshank Redemption" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Shawshank Redemption