Question: Which had higher box office totals, The Impossible or Nixon?
Choices:
Curse of the Golden Flower
The Impossible
Talk to Her
The Fifth Element
Training Day
The Towering Inferno
Nixon
Pleasantville
A Prairie Home Companion
The Hunchback of Notre Dame
Program:
function: Find
inputs: The Impossible
function: Find
inputs: Nixon
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Impossible" .  } UNION { ?e <pred:name> "Nixon" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Impossible