Question: Which movie is shorter, The Island (the one whose title is Ostrov) or Mrs Henderson Presents?
Choices:
Mrs Henderson Presents
Rebecca
Curse of the Golden Flower
The Towering Inferno
Talk to Her
Pleasantville
A Prairie Home Companion
The Island
The Fifth Element
Training Day
Program:
function: Find
inputs: The Island
function: FilterStr
dependencies: 0
inputs: title
Ostrov
function: Find
inputs: Mrs Henderson Presents
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Island" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Ostrov" . } UNION { ?e <pred:name> "Mrs Henderson Presents" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mrs Henderson Presents