Question: Which movie is shorter, Love Affair (the one whose producer is Leo McCarey) or Three Kings?
Choices: Love Affair
Pleasantville
The Towering Inferno
A Prairie Home Companion
The Fifth Element
Curse of the Golden Flower
Rebecca
Training Day
Talk to Her
Three Kings
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Love Affair" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Leo McCarey" .   } UNION { ?e <pred:name> "Three Kings" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Leo McCarey
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Love Affair
function: And
dependencies: 1
2
function: Find
inputs: Three Kings
function: SelectBetween
dependencies: 3
4
inputs: duration
less
Answer: Love Affair