Question: Which had a lower box office total, Dog Day Afternoon or The Bridge on the River Kwai?
Choices:
The Hunchback of Notre Dame
The Fifth Element
Talk to Her
The Bridge on the River Kwai
Pleasantville
Training Day
A Prairie Home Companion
Dog Day Afternoon
Curse of the Golden Flower
The Towering Inferno
Program:
function: Find
inputs: Dog Day Afternoon
function: Find
inputs: The Bridge on the River Kwai
function: SelectBetween
dependencies: 0
1
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dog Day Afternoon" .  } UNION { ?e <pred:name> "The Bridge on the River Kwai" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Bridge on the River Kwai