Question: Between The Shawshank Redemption or Flight, featuring Melissa Leo as a cast member, which was cheaper to make?
Choices:
Training Day
Flight
The Fifth Element
The Hunchback of Notre Dame
The Shawshank Redemption
Pleasantville
The Towering Inferno
Rebecca
Curse of the Golden Flower
A Prairie Home Companion
Program:
function: Find
inputs: The Shawshank Redemption
function: Find
inputs: Melissa Leo
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Flight
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Shawshank Redemption" .  } UNION { ?e <pred:name> "Flight" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Melissa Leo" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Shawshank Redemption