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