Question: Is The Merry Widow, released in Denmark, or Gia the shorter work?
Choices:
Training Day
Talk to Her
Rebecca
Pleasantville
Curse of the Golden Flower
The Fifth Element
The Merry Widow
The Hunchback of Notre Dame
The Towering Inferno
Gia
Program:
function: Find
inputs: Denmark
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Merry Widow
function: And
dependencies: 1
2
function: Find
inputs: Gia
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Merry Widow" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Denmark" .   } UNION { ?e <pred:name> "Gia" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Merry Widow