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