Question: Which movie is shorter, Grown Ups or Terminator 2: Judgment Day (the one whose subtitle is Tuomion päivä)?
Choices:
Grown Ups
A Prairie Home Companion
The Hunchback of Notre Dame
Talk to Her
Terminator 2: Judgment Day
Training Day
Pleasantville
Rebecca
The Towering Inferno
Curse of the Golden Flower
Program:
function: Find
inputs: Grown Ups
function: Find
inputs: Terminator 2: Judgment Day
function: FilterStr
dependencies: 1
inputs: subtitle
Tuomion päivä
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grown Ups" . } UNION { ?e <pred:name> "Terminator 2: Judgment Day" . ?e <subtitle> ?pv_1 . ?pv_1 <pred:value> "Tuomion päivä" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Grown Ups