Question: Which is the loser at the box office between Hellboy, released in Venezuela, or The Spy Who Loved Me, an Academy Award nominee for Best Original Score?
Choices:
Talk to Her
The Spy Who Loved Me
A Prairie Home Companion
The Fifth Element
Curse of the Golden Flower
The Hunchback of Notre Dame
Training Day
Pleasantville
Rebecca
Hellboy
Answer: Hellboy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hellboy" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Venezuela" .   } UNION { ?e <pred:name> "The Spy Who Loved Me" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Original Score" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Venezuela
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Hellboy
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Original Score
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: The Spy Who Loved Me
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
less