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