Question: Was it more expensive to make Groundhog Day or Sweeney Todd: The Demon Barber of Fleet Street, featuring Anthony Head as a cast member?
Choices:
Groundhog Day
Sweeney Todd: The Demon Barber of Fleet Street
Pleasantville
Rebecca
Curse of the Golden Flower
Training Day
The Towering Inferno
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
Answer: Sweeney Todd: The Demon Barber of Fleet Street
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Groundhog Day" .  } UNION { ?e <pred:name> "Sweeney Todd: The Demon Barber of Fleet Street" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Anthony Head" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Groundhog Day
function: Find
inputs: Anthony Head
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Sweeney Todd: The Demon Barber of Fleet Street
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater