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