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