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