Question: Which movie was more expensive to make, Rear Window (the one that was nominated for BAFTA Award for Best Film) or Air Force One?
Choices:
Talk to Her
Curse of the Golden Flower
Rear Window
Rebecca
Training Day
The Towering Inferno
A Prairie Home Companion
Air Force One
Pleasantville
The Fifth Element
Answer: Air Force One
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rear Window" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Film" .   } UNION { ?e <pred:name> "Air Force One" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: BAFTA Award for Best Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Rear Window
function: And
dependencies: 1
2
function: Find
inputs: Air Force One
function: SelectBetween
dependencies: 3
4
inputs: cost
greater