Question: Which one, The Brothers Bloom or As Good as It Gets, has a higher box office?
Choices:
The Towering Inferno
As Good as It Gets
The Hunchback of Notre Dame
Talk to Her
Pleasantville
The Fifth Element
A Prairie Home Companion
The Brothers Bloom
Rebecca
Curse of the Golden Flower
Answer: As Good as It Gets
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Brothers Bloom" .  } UNION { ?e <pred:name> "As Good as It Gets" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Brothers Bloom
function: Find
inputs: As Good as It Gets
function: SelectBetween
dependencies: 0
1
inputs: box office
greater