Question: Is the running time shorter for West Side Story, winner of an Academy Award for Best Picture, or For Your Eyes Only, released on 1981-08-06?
Choices:
A Prairie Home Companion
West Side Story
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
Training Day
For Your Eyes Only
The Towering Inferno
Pleasantville
The Fifth Element
Program:
function: Find
inputs: Academy Award for Best Picture
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: West Side Story
function: And
dependencies: 1
2
function: Find
inputs: For Your Eyes Only
function: FilterDate
dependencies: 4
inputs: publication date
1981-08-06
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Side Story" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Picture" . } UNION { ?e <pred:name> "For Your Eyes Only" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1981-08-06"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: For Your Eyes Only