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