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