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