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