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