Question: Which one is shorter, Derby (published in 1949) or The Life Aquatic with Steve Zissou?
Choices:
The Towering Inferno
The Fifth Element
Derby
A Prairie Home Companion
Pleasantville
Rebecca
The Hunchback of Notre Dame
The Life Aquatic with Steve Zissou
Talk to Her
Curse of the Golden Flower
Program:
function: Find
inputs: Derby
function: FilterYear
dependencies: 0
inputs: publication date
1949
=
function: Find
inputs: The Life Aquatic with Steve Zissou
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Derby" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 1949 . } UNION { ?e <pred:name> "The Life Aquatic with Steve Zissou" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Derby