Question: Which made more at the box office, Oscar starring Sylvester Stallone or Crazy Heart?
Choices:
The Hunchback of Notre Dame
Rebecca
Pleasantville
The Fifth Element
Training Day
Curse of the Golden Flower
Talk to Her
Crazy Heart
A Prairie Home Companion
The Towering Inferno
Answer: Crazy Heart
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oscar" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sylvester Stallone" .   } UNION { ?e <pred:name> "Crazy Heart" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sylvester Stallone
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Oscar
function: And
dependencies: 1
2
function: Find
inputs: Crazy Heart
function: SelectBetween
dependencies: 3
4
inputs: box office
greater