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