Question: Which movie cost less to make, Deep Impact or The Godfather (the one whose release region is Uruguay)?
Choices:
Rebecca
The Towering Inferno
Deep Impact
The Godfather
Training Day
Curse of the Golden Flower
Talk to Her
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
Program:
function: Find
inputs: Deep Impact
function: Find
inputs: Uruguay
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: The Godfather
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Deep Impact" .  } UNION { ?e <pred:name> "The Godfather" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Uruguay" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Godfather