Question: Which is shorter: Pillow Talk or The Last of the Mohicans (published on 1932-01-01)?
Choices:
The Towering Inferno
Pillow Talk
The Fifth Element
The Last of the Mohicans
Training Day
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
Curse of the Golden Flower
Program:
function: Find
inputs: Pillow Talk
function: Find
inputs: The Last of the Mohicans
function: FilterDate
dependencies: 1
inputs: publication date
1932-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pillow Talk" . } UNION { ?e <pred:name> "The Last of the Mohicans" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1932-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pillow Talk