Question: Was it less expensive to make Jackie Brown, with LisaGay Hamilton as a cast member, or Stargate?
Choices:
Pleasantville
Training Day
The Hunchback of Notre Dame
Jackie Brown
Rebecca
Stargate
The Towering Inferno
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
Program:
function: Find
inputs: LisaGay Hamilton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Jackie Brown
function: And
dependencies: 1
2
function: Find
inputs: Stargate
function: SelectBetween
dependencies: 3
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackie Brown" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "LisaGay Hamilton" .   } UNION { ?e <pred:name> "Stargate" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jackie Brown