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