Question: Which has less cost, Seven Psychopaths or Home Alone starring Hope Davis?
Choices:
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
The Hunchback of Notre Dame
Training Day
The Fifth Element
Seven Psychopaths
Home Alone
Pleasantville
Talk to Her
Answer: Seven Psychopaths
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seven Psychopaths" .  } UNION { ?e <pred:name> "Home Alone" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Hope Davis" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Seven Psychopaths
function: Find
inputs: Hope Davis
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Home Alone
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less