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