Question: I want to know the one with the smaller box office, The Exorcist or the Lost World Jurassic Park
Choices:
The Lost World: Jurassic Park
The Fifth Element
Training Day
Talk to Her
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
Rebecca
Pleasantville
The Exorcist
Program:
function: Find
inputs: The Exorcist
function: Find
inputs: The Lost World: Jurassic Park
function: SelectBetween
dependencies: 0
1
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Exorcist" .  } UNION { ?e <pred:name> "The Lost World: Jurassic Park" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Exorcist