Question: Did The Prestige or J. Edgar have a larger box office?
Choices:
Talk to Her
Training Day
J. Edgar
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
Rebecca
The Towering Inferno
A Prairie Home Companion
The Prestige
Answer: The Prestige
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Prestige" .  } UNION { ?e <pred:name> "J. Edgar" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Prestige
function: Find
inputs: J. Edgar
function: SelectBetween
dependencies: 0
1
inputs: box office
greater