Question: Which movie cost less to make, Seven (the one that has Richard Schiff as a cast member) or Quantum of Solace?
Choices:
Rebecca
Curse of the Golden Flower
Talk to Her
Seven
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
The Fifth Element
Quantum of Solace
Training Day
Answer: Seven
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seven" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Richard Schiff" .   } UNION { ?e <pred:name> "Quantum of Solace" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Richard Schiff
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Seven
function: And
dependencies: 1
2
function: Find
inputs: Quantum of Solace
function: SelectBetween
dependencies: 3
4
inputs: cost
less