Question: Which had less of a box office, The Aviator (nominated for Academy Award for Best Actor) or Resident Evil: Apocalypse?
Choices:
The Hunchback of Notre Dame
The Aviator
Resident Evil: Apocalypse
A Prairie Home Companion
Rebecca
The Fifth Element
The Towering Inferno
Training Day
Curse of the Golden Flower
Pleasantville
Answer: Resident Evil: Apocalypse
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Aviator" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Actor" .   } UNION { ?e <pred:name> "Resident Evil: Apocalypse" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Aviator
function: And
dependencies: 1
2
function: Find
inputs: Resident Evil: Apocalypse
function: SelectBetween
dependencies: 3
4
inputs: box office
less