Question: Which movie is shorter, Crouching Tiger, Hidden Dragon or Melancholia (the one whose release region is Finland)?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
The Fifth Element
Pleasantville
Talk to Her
Curse of the Golden Flower
Training Day
Crouching Tiger, Hidden Dragon
Rebecca
The Towering Inferno
Program:
function: Find
inputs: Crouching Tiger, Hidden Dragon
function: Find
inputs: Finland
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Melancholia
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Crouching Tiger, Hidden Dragon" .  } UNION { ?e <pred:name> "Melancholia" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Finland" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Crouching Tiger, Hidden Dragon