Question: Which one among Carrie (the one whose release region is Finland) The Producers (the one that has Gene Wilder as a cast member) costed less?
Choices:
Rebecca
Pleasantville
The Producers
The Fifth Element
Training Day
Carrie
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
Program:
function: Find
inputs: Finland
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Carrie
function: And
dependencies: 1
2
function: Find
inputs: Gene Wilder
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The Producers
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carrie" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Finland" .   } UNION { ?e <pred:name> "The Producers" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Gene Wilder" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Producers