Question: Did Heaven's Gate or The Shawshank Redemption perform better at the box office?
Choices:
A Prairie Home Companion
Training Day
The Towering Inferno
Heaven's Gate
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
Rebecca
Talk to Her
The Shawshank Redemption
Program:
function: Find
inputs: Heaven's Gate
function: Find
inputs: The Shawshank Redemption
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Heaven's Gate" .  } UNION { ?e <pred:name> "The Shawshank Redemption" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Shawshank Redemption