Question: Which one has less total sales State of Play (the one that has Robin Wright as a cast member) or The Book of Eli?
Choices:
A Prairie Home Companion
State of Play
The Book of Eli
Training Day
Pleasantville
The Fifth Element
Talk to Her
Rebecca
The Towering Inferno
Curse of the Golden Flower
Program:
function: Find
inputs: Robin Wright
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: State of Play
function: And
dependencies: 1
2
function: Find
inputs: The Book of Eli
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "State of Play" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Robin Wright" .   } UNION { ?e <pred:name> "The Book of Eli" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: State of Play