Question: Which was shorter, The Cure (published on 1996-02-15) or Hot Fuzz?
Choices:
The Towering Inferno
Talk to Her
The Cure
The Fifth Element
Pleasantville
Training Day
Curse of the Golden Flower
Hot Fuzz
A Prairie Home Companion
Rebecca
Program:
function: Find
inputs: The Cure
function: FilterDate
dependencies: 0
inputs: publication date
1996-02-15
=
function: Find
inputs: Hot Fuzz
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Cure" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1996-02-15"^^xsd:date . } UNION { ?e <pred:name> "Hot Fuzz" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Cure