Question: Which one is cheaper, The Artist or Amadeus (which received an Academy Award for best makeup and hairstyling)
Choices:
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
The Artist
The Fifth Element
Amadeus
Pleasantville
The Towering Inferno
Curse of the Golden Flower
Program:
function: Find
inputs: The Artist
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
function: Relate
dependencies: 1
inputs: award received
backward
function: Find
inputs: Amadeus
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Artist" .  } UNION { ?e <pred:name> "Amadeus" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Makeup and Hairstyling" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Artist