Question: Were production costs lower for The Sting with Charles Durning as a cast member or Spartacus, nominated for a BAFTA for Best Film?
Choices:
The Towering Inferno
Training Day
Spartacus
The Sting
The Fifth Element
The Hunchback of Notre Dame
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
Talk to Her
Program:
function: Find
inputs: Charles Durning
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Sting
function: And
dependencies: 1
2
function: Find
inputs: BAFTA Award for Best Film
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Spartacus
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Sting" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Charles Durning" .   } UNION { ?e <pred:name> "Spartacus" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "BAFTA Award for Best Film" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Sting