Question: Which movie is shorter, Saskatchewan (the one whose title is Saskatchewan) or Don't Be Afraid of the Dark?
Choices:
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
Saskatchewan
Don't Be Afraid of the Dark
A Prairie Home Companion
Talk to Her
Training Day
Rebecca
Pleasantville
Program:
function: Find
inputs: Saskatchewan
function: FilterStr
dependencies: 0
inputs: title
Saskatchewan
function: Find
inputs: Don't Be Afraid of the Dark
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saskatchewan" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Saskatchewan" . } UNION { ?e <pred:name> "Don't Be Afraid of the Dark" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Saskatchewan