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