Question: Which one, Scent of a Woman (the one that was nominated for Academy Award for Best Picture) or Bicentennial Man, has greater cost?
Choices:
Training Day
The Fifth Element
Pleasantville
Bicentennial Man
Talk to Her
The Hunchback of Notre Dame
Rebecca
Curse of the Golden Flower
The Towering Inferno
Scent of a Woman
Program:
function: Find
inputs: Academy Award for Best Picture
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Scent of a Woman
function: And
dependencies: 1
2
function: Find
inputs: Bicentennial Man
function: SelectBetween
dependencies: 3
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scent of a Woman" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Picture" .   } UNION { ?e <pred:name> "Bicentennial Man" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bicentennial Man