Question: Which movei cost less to make, The Sting (the one whose genre is heist film) or Water for Elephants?
Choices:
Training Day
Curse of the Golden Flower
Rebecca
The Sting
Water for Elephants
Talk to Her
The Fifth Element
Pleasantville
A Prairie Home Companion
The Hunchback of Notre Dame
Answer: The Sting
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Sting" . ?e <genre> ?e_1 . ?e_1 <pred:name> "heist film" .   } UNION { ?e <pred:name> "Water for Elephants" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: heist film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Sting
function: And
dependencies: 1
2
function: Find
inputs: Water for Elephants
function: SelectBetween
dependencies: 3
4
inputs: cost
less