Question: Between Alexander (titled Александр. Невская битва) or Barton Fink, which is shorter?
Choices:
The Towering Inferno
Barton Fink
Rebecca
Talk to Her
Alexander
Pleasantville
Training Day
The Hunchback of Notre Dame
Curse of the Golden Flower
A Prairie Home Companion
Program:
function: Find
inputs: Alexander
function: FilterStr
dependencies: 0
inputs: title
Александр. Невская битва
function: Find
inputs: Barton Fink
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alexander" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Александр. Невская битва" . } UNION { ?e <pred:name> "Barton Fink" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alexander