Question: Which one has less total sales between American Pie 2 or The Green Mile (the one whose composer is Thomas Newman)?
Choices:
Training Day
Rebecca
The Hunchback of Notre Dame
American Pie 2
A Prairie Home Companion
The Towering Inferno
The Fifth Element
The Green Mile
Pleasantville
Curse of the Golden Flower
Answer: American Pie 2
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "American Pie 2" .  } UNION { ?e <pred:name> "The Green Mile" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Thomas Newman" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: American Pie 2
function: Find
inputs: Thomas Newman
function: Relate
dependencies: 1
inputs: composer
backward
function: Find
inputs: The Green Mile
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
less