Question: Which movie had a smaller box office, RoboCop (the one that has Miguel Ferrer as a cast member) or Rocky Balboa (the one whose composer is Bill Conti)?
Choices: The Fifth Element
Pleasantville
Talk to Her
Rocky Balboa
The Hunchback of Notre Dame
RoboCop
Training Day
Rebecca
A Prairie Home Companion
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "RoboCop" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Miguel Ferrer" .   } UNION { ?e <pred:name> "Rocky Balboa" . ?e <composer> ?e_2 . ?e_2 <pred:name> "Bill Conti" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Miguel Ferrer
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: RoboCop
function: And
dependencies: 1
2
function: Find
inputs: Bill Conti
function: Relate
dependencies: 4
inputs: composer
backward
function: Find
inputs: Rocky Balboa
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
less
Answer: RoboCop