Question: Which movie cost less to make, Resident Evil: Retribution or The Lord of the Rings: The Fellowship of the Ring (the one whose distributor is New Line Cinema)?
Choices: Curse of the Golden Flower
A Prairie Home Companion
The Towering Inferno
Talk to Her
Pleasantville
Resident Evil: Retribution
The Hunchback of Notre Dame
The Lord of the Rings: The Fellowship of the Ring
Rebecca
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Resident Evil: Retribution" .  } UNION { ?e <pred:name> "The Lord of the Rings: The Fellowship of the Ring" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "New Line Cinema" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Resident Evil: Retribution
function: Find
inputs: New Line Cinema
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: The Lord of the Rings: The Fellowship of the Ring
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
Answer: Resident Evil: Retribution