Question: Which movie is shorter, Mrs. Brown or Tower of London (the one that has Paul Frees as a cast member)?
Choices: The Hunchback of Notre Dame
The Towering Inferno
Curse of the Golden Flower
Training Day
Talk to Her
Tower of London
Pleasantville
Mrs. Brown
Rebecca
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mrs. Brown" .  } UNION { ?e <pred:name> "Tower of London" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Paul Frees" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Mrs. Brown
function: Find
inputs: Paul Frees
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Tower of London
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Tower of London