Question: Is My Man Godfrey (released 1957-01-01) or Hercules (98 minutes long) shorter in duration?
Choices:
Pleasantville
My Man Godfrey
The Fifth Element
Training Day
A Prairie Home Companion
The Hunchback of Notre Dame
Hercules
Curse of the Golden Flower
Rebecca
The Towering Inferno
Answer: My Man Godfrey
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "My Man Godfrey" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1957-01-01"^^xsd:date . } UNION { ?e <pred:name> "Hercules" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "98"^^xsd:double . } ?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
1957-01-01
=
function: Find
inputs: Hercules
function: FilterNum
dependencies: 2
inputs: duration
98 minute
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less