Question: Which is shorter, Wall Street published on 1929-01-01 or The Life Aquatic with Steve Zissou?
Choices:
Training Day
Wall Street
Talk to Her
The Fifth Element
The Towering Inferno
Rebecca
The Life Aquatic with Steve Zissou
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
Program:
function: Find
inputs: Wall Street
function: FilterDate
dependencies: 0
inputs: publication date
1929-01-01
=
function: Find
inputs: The Life Aquatic with Steve Zissou
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wall Street" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1929-01-01"^^xsd:date . } UNION { ?e <pred:name> "The Life Aquatic with Steve Zissou" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wall Street