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