Question: Did the movie The Wizard of OZ that won the Academy Award for Best Original Score or the movie Cape Fear which was published in 1992-02-27 cost less?
Choices:
Talk to Her
Curse of the Golden Flower
The Hunchback of Notre Dame
The Towering Inferno
The Wizard of Oz
Cape Fear
Rebecca
A Prairie Home Companion
The Fifth Element
Pleasantville
Program:
function: Find
inputs: Academy Award for Best Original Score
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: The Wizard of Oz
function: And
dependencies: 1
2
function: Find
inputs: Cape Fear
function: FilterDate
dependencies: 4
inputs: publication date
1992-02-27
=
function: SelectBetween
dependencies: 3
5
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Wizard of Oz" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Original Score" . } UNION { ?e <pred:name> "Cape Fear" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1992-02-27"^^xsd:date . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Wizard of Oz