Question: which one has a smaller duration, Catch Me If You Can (which has a 135 minute duration) or the Tree of Life
Choices:
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
The Tree of Life
Curse of the Golden Flower
Rebecca
Catch Me If You Can
Talk to Her
A Prairie Home Companion
Training Day
Program:
function: Find
inputs: Catch Me If You Can
function: FilterNum
dependencies: 0
inputs: duration
135 minute
=
function: Find
inputs: The Tree of Life
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Catch Me If You Can" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "135"^^xsd:double . } UNION { ?e <pred:name> "The Tree of Life" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Catch Me If You Can