Question: Between Silver Linings Playbook or Warner Bros.production of Priest, which was the loser at the box office?
Choices:
Silver Linings Playbook
The Hunchback of Notre Dame
The Fifth Element
Priest
The Towering Inferno
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
Training Day
Pleasantville
Program:
function: Find
inputs: Silver Linings Playbook
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Priest
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Silver Linings Playbook" .  } UNION { ?e <pred:name> "Priest" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Priest