Question: Which movie is shorter, Hearts and Minds (the one whose duration is 112 minute) or Snatch?
Choices: The Towering Inferno
Hearts and Minds
Curse of the Golden Flower
Training Day
Snatch
Talk to Her
The Fifth Element
Pleasantville
A Prairie Home Companion
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hearts and Minds" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "112"^^xsd:double . } UNION { ?e <pred:name> "Snatch" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hearts and Minds
function: FilterNum
dependencies: 0
inputs: duration
112 minute
=
function: Find
inputs: Snatch
function: SelectBetween
dependencies: 1
2
inputs: duration
less
Answer: Snatch