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