Question: Is Montana, clocking in at 92 minutes, or The Duchess the shorter of the two?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
Talk to Her
Training Day
Montana
Pleasantville
Rebecca
The Duchess
Program:
function: Find
inputs: Montana
function: FilterNum
dependencies: 0
inputs: duration
92 minute
=
function: Find
inputs: The Duchess
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montana" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "92"^^xsd:double . } UNION { ?e <pred:name> "The Duchess" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Montana