Question: Which movie made more at hte box office, Inland Empire or The Impossible?
Choices:
The Fifth Element
Rebecca
Pleasantville
A Prairie Home Companion
The Impossible
Talk to Her
Training Day
Curse of the Golden Flower
Inland Empire
The Towering Inferno
Program:
function: Find
inputs: Inland Empire
function: Find
inputs: The Impossible
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Inland Empire" .  } UNION { ?e <pred:name> "The Impossible" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Impossible