Question: which one is shorter, sexy beast or Patterson (which has 113 minutes duration)
Choices:
Sexy Beast
Talk to Her
Training Day
Paterson
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
The Fifth Element
Pleasantville
Answer: Sexy Beast
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sexy Beast" . } UNION { ?e <pred:name> "Paterson" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "113"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sexy Beast
function: Find
inputs: Paterson
function: FilterNum
dependencies: 1
inputs: duration
113 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less