Question: Is the run-time longer for Naked Lunch, released on 1992-04-30, or Richard III, released on 1996-03-14?
Choices:
Naked Lunch
Training Day
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
Rebecca
Pleasantville
Talk to Her
Richard III
The Towering Inferno
Answer: Naked Lunch
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Naked Lunch" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1992-04-30"^^xsd:date . } UNION { ?e <pred:name> "Richard III" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "1996-03-14"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Naked Lunch
function: FilterDate
dependencies: 0
inputs: publication date
1992-04-30
=
function: Find
inputs: Richard III
function: FilterDate
dependencies: 2
inputs: publication date
1996-03-14
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater