Question: Was Bad Education or Cape Fear, with Illeana Douglas as a cast member, more expensive to make?
Choices:
Training Day
Rebecca
Pleasantville
The Towering Inferno
Talk to Her
Bad Education
Cape Fear
The Fifth Element
A Prairie Home Companion
The Hunchback of Notre Dame
Program:
function: Find
inputs: Bad Education
function: Find
inputs: Illeana Douglas
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Cape Fear
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bad Education" .  } UNION { ?e <pred:name> "Cape Fear" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Illeana Douglas" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cape Fear