Question: Which is longer, A Better Tomorrow (released on 1993-07-21) or Assassins?
Choices:
The Towering Inferno
The Fifth Element
A Better Tomorrow
Rebecca
A Prairie Home Companion
Curse of the Golden Flower
Training Day
Pleasantville
Assassins
Talk to Her
Program:
function: Find
inputs: A Better Tomorrow
function: FilterDate
dependencies: 0
inputs: publication date
1993-07-21
=
function: Find
inputs: Assassins
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Better Tomorrow" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1993-07-21"^^xsd:date . } UNION { ?e <pred:name> "Assassins" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Assassins