Question: Which has a lesser duration, New Year's Eve (whose publication date is 1924-01-01) or A Simple Plan?
Choices: New Year's Eve
The Towering Inferno
A Prairie Home Companion
Rebecca
A Simple Plan
Training Day
Talk to Her
The Hunchback of Notre Dame
Curse of the Golden Flower
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Year's Eve" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1924-01-01"^^xsd:date . } UNION { ?e <pred:name> "A Simple Plan" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: New Year's Eve
function: FilterDate
dependencies: 0
inputs: publication date
1924-01-01
=
function: Find
inputs: A Simple Plan
function: SelectBetween
dependencies: 1
2
inputs: duration
less
Answer: New Year's Eve