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