Question: Which has a greater box office, Invictus or Steve Jobs (which was nominated for an Academy Award for Best Supporting Actress)?
Choices:
The Hunchback of Notre Dame
Talk to Her
Rebecca
The Towering Inferno
The Fifth Element
Pleasantville
Training Day
Invictus
Curse of the Golden Flower
Steve Jobs
Program:
function: Find
inputs: Invictus
function: Find
inputs: Academy Award for Best Supporting Actress
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Steve Jobs
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Invictus" .  } UNION { ?e <pred:name> "Steve Jobs" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actress" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Invictus