Question: Which one, Slumdog Millionaire or Chicago (the one that was nominated for Academy Award for Best Film Editing), has less cost?
Choices:
Training Day
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
Slumdog Millionaire
The Fifth Element
A Prairie Home Companion
Chicago
Rebecca
The Towering Inferno
Program:
function: Find
inputs: Slumdog Millionaire
function: Find
inputs: Academy Award for Best Film Editing
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Slumdog Millionaire" .  } UNION { ?e <pred:name> "Chicago" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Film Editing" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Slumdog Millionaire