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