Question: Which was cheaper to make: Hello, Dolly!, an Academy Award recipient for Best Sound Mixing, or the biopic The Doors?
Choices:
Talk to Her
The Fifth Element
Training Day
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
A Prairie Home Companion
Hello, Dolly!
Curse of the Golden Flower
The Doors
Program:
function: Find
inputs: Academy Award for Best Sound Mixing
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Hello, Dolly!
function: And
dependencies: 1
2
function: Find
inputs: biographical film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: The Doors
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hello, Dolly!" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Sound Mixing" .   } UNION { ?e <pred:name> "The Doors" . ?e <genre> ?e_2 . ?e_2 <pred:name> "biographical film" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hello, Dolly!