Question: Does Groundhog Day or Forgetting Sarah Marshall have the higher box office?
Choices:
The Towering Inferno
Groundhog Day
Curse of the Golden Flower
The Fifth Element
Rebecca
Training Day
A Prairie Home Companion
Pleasantville
The Hunchback of Notre Dame
Forgetting Sarah Marshall
Program:
function: Find
inputs: Groundhog Day
function: Find
inputs: Forgetting Sarah Marshall
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Groundhog Day" .  } UNION { ?e <pred:name> "Forgetting Sarah Marshall" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Forgetting Sarah Marshall