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