Question: Which movie is shorter, King Kong (the one whose publication date is 1933-04-07) or Bleach: The DiamondDust Rebellion?
Choices:
Rebecca
Talk to Her
The Towering Inferno
Pleasantville
King Kong
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Training Day
Bleach: The DiamondDust Rebellion
Program:
function: Find
inputs: King Kong
function: FilterDate
dependencies: 0
inputs: publication date
1933-04-07
=
function: Find
inputs: Bleach: The DiamondDust Rebellion
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "King Kong" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1933-04-07"^^xsd:date . } UNION { ?e <pred:name> "Bleach: The DiamondDust Rebellion" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bleach: The DiamondDust Rebellion