Question: Which is shorter 24: Redemption or Franz Schubert (the one whose publication date is 1953-01-01)?
Choices:
The Three Musketeers
All Quiet on the Western Front
A Christmas Carol
The Goodbye Girl
Shackleton
The Late Shift
24: Redemption
Franz Schubert
The Challenge
The Music Man
Program:
function: Find
inputs: 24: Redemption
function: Find
inputs: Franz Schubert
function: FilterDate
dependencies: 1
inputs: publication date
1953-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "24: Redemption" . } UNION { ?e <pred:name> "Franz Schubert" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1953-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: 24: Redemption