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