Question: Which one was cheaper, Grease or Gladiator (the one that was nominated for BAFTA Award for Best Actor in a Supporting Role) ?
Choices:
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
Rebecca
Training Day
Pleasantville
Gladiator
Talk to Her
Grease
Answer: Grease
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grease" .  } UNION { ?e <pred:name> "Gladiator" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Actor in a Supporting Role" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Grease
function: Find
inputs: BAFTA Award for Best Actor in a Supporting Role
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Gladiator
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less