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