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