Question: Which movie is shorter, Julius Caesar (the one whose publication date is 1953-11-13) or Kiss of the Spider Woman?
Choices:
Training Day
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
Julius Caesar
The Towering Inferno
The Fifth Element
Kiss of the Spider Woman
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: Julius Caesar
function: FilterDate
dependencies: 0
inputs: publication date
1953-11-13
=
function: Find
inputs: Kiss of the Spider Woman
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Julius Caesar" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1953-11-13"^^xsd:date . } UNION { ?e <pred:name> "Kiss of the Spider Woman" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Julius Caesar