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