Question: tell me the one with the smaller box office, the river or the River Kwai or The Last Station
Choices:
The Bridge on the River Kwai
Talk to Her
The Fifth Element
The Last Station
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
Rebecca
Pleasantville
Program:
function: Find
inputs: The Bridge on the River Kwai
function: Find
inputs: The Last Station
function: SelectBetween
dependencies: 0
1
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Bridge on the River Kwai" .  } UNION { ?e <pred:name> "The Last Station" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Last Station