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