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