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