Question: Which movie is shorter, Swimming Upstream or Into the Storm (the one whose production company is New Line Cinema)?>
Choices:
Pleasantville
The Towering Inferno
A Prairie Home Companion
Talk to Her
The Fifth Element
Curse of the Golden Flower
The Hunchback of Notre Dame
Training Day
Into the Storm
Rebecca
Program:
function: Find
inputs: Swimming Upstream
function: Find
inputs: New Line Cinema
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Into the Storm
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Swimming Upstream" .  } UNION { ?e <pred:name> "Into the Storm" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "New Line Cinema" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Into the Storm