Question: Which is shorter, Hellboy released in Kuwait or The Diving Bell and the Butterfly?
Choices:
Training Day
The Towering Inferno
The Diving Bell and the Butterfly
Hellboy
The Hunchback of Notre Dame
Talk to Her
Rebecca
The Fifth Element
A Prairie Home Companion
Pleasantville
Program:
function: Find
inputs: Kuwait
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Hellboy
function: And
dependencies: 1
2
function: Find
inputs: The Diving Bell and the Butterfly
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hellboy" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Kuwait" .   } UNION { ?e <pred:name> "The Diving Bell and the Butterfly" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Diving Bell and the Butterfly