Question: Does the spy film Live and Let Die or Die Hard, released on 1988-09-30, have a longer run-time?
Choices:
Live and Let Die
Pleasantville
A Prairie Home Companion
Rebecca
The Towering Inferno
Talk to Her
Curse of the Golden Flower
The Hunchback of Notre Dame
Die Hard
The Fifth Element
Program:
function: Find
inputs: spy film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Live and Let Die
function: And
dependencies: 1
2
function: Find
inputs: Die Hard
function: FilterDate
dependencies: 4
inputs: publication date
1988-09-30
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Live and Let Die" . ?e <genre> ?e_1 . ?e_1 <pred:name> "spy film" . } UNION { ?e <pred:name> "Die Hard" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1988-09-30"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Die Hard