Question: Which movie made less at the box office, Inland Empire or Charlie and the Chocolate Factory (the one whose script is wrote by Roald Dahl)?
Choices:
Inland Empire
A Prairie Home Companion
Curse of the Golden Flower
Talk to Her
Charlie and the Chocolate Factory
Pleasantville
Training Day
The Fifth Element
Rebecca
The Towering Inferno
Answer: Inland Empire
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Inland Empire" .  } UNION { ?e <pred:name> "Charlie and the Chocolate Factory" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Roald Dahl" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Inland Empire
function: Find
inputs: Roald Dahl
function: Relate
dependencies: 1
inputs: screenwriter
backward
function: Find
inputs: Charlie and the Chocolate Factory
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
less