Question: Which was more expensive to make: Frankenstein, with Helena Bonham Carter as a cast member, or the drama film The Master?
Choices: A Prairie Home Companion
The Master
Rebecca
The Fifth Element
Frankenstein
Curse of the Golden Flower
Talk to Her
The Hunchback of Notre Dame
The Towering Inferno
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Frankenstein" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Helena Bonham Carter" .   } UNION { ?e <pred:name> "The Master" . ?e <genre> ?e_2 . ?e_2 <pred:name> "drama film" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Helena Bonham Carter
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Frankenstein
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: The Master
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater
Answer: Frankenstein