Question: Is Going My Way, clocked at 130-minutes, or Star Trek: Nemesis the shorter of the two?
Choices:
Star Trek: Nemesis
Talk to Her
Training Day
The Fifth Element
Rebecca
A Prairie Home Companion
The Towering Inferno
Going My Way
Curse of the Golden Flower
Pleasantville
Program:
function: Find
inputs: Going My Way
function: FilterNum
dependencies: 0
inputs: duration
130 minute
=
function: Find
inputs: Star Trek: Nemesis
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Going My Way" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "130"^^xsd:double . } UNION { ?e <pred:name> "Star Trek: Nemesis" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Star Trek: Nemesis