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