Question: Which has less cost, Grimsby originally in English or The Talented Mr. Ripley that was nominated for a Satellite Award for Best Cinematography?
Choices:
Curse of the Golden Flower
Training Day
Talk to Her
A Prairie Home Companion
Grimsby
The Towering Inferno
Pleasantville
Rebecca
The Talented Mr. Ripley
The Hunchback of Notre Dame
Answer: Grimsby
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grimsby" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "The Talented Mr. Ripley" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Satellite Award for Best Cinematography" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Grimsby
function: And
dependencies: 1
2
function: Find
inputs: Satellite Award for Best Cinematography
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: The Talented Mr. Ripley
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
less