Question: Which was the box office winner between Sweeney Todd: The Demon Barber of Fleet Street, with Alan Rickman as a cast member, or Hancock?
Choices: Sweeney Todd: The Demon Barber of Fleet Street
The Fifth Element
Talk to Her
Rebecca
Hancock
A Prairie Home Companion
Training Day
The Towering Inferno
Pleasantville
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sweeney Todd: The Demon Barber of Fleet Street" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Alan Rickman" .   } UNION { ?e <pred:name> "Hancock" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Alan Rickman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Sweeney Todd: The Demon Barber of Fleet Street
function: And
dependencies: 1
2
function: Find
inputs: Hancock
function: SelectBetween
dependencies: 3
4
inputs: box office
greater
Answer: Hancock