Question: WHich one has the lower box office record, Wreck-It Ralph or Bridget Jones's Diary?
Choices:
Pleasantville
Bridget Jones's Diary
Rebecca
Training Day
The Towering Inferno
A Prairie Home Companion
Wreck-It Ralph
Talk to Her
The Fifth Element
The Hunchback of Notre Dame
Program:
function: Find
inputs: Wreck-It Ralph
function: Find
inputs: Bridget Jones's Diary
function: SelectBetween
dependencies: 0
1
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wreck-It Ralph" .  } UNION { ?e <pred:name> "Bridget Jones's Diary" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bridget Jones's Diary