Question: Which is shorter, X2 or Kick-Ass starring Xander Berkeley?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Talk to Her
Training Day
Curse of the Golden Flower
Rebecca
The Fifth Element
X2
Kick-Ass
Program:
function: Find
inputs: X2
function: Find
inputs: Xander Berkeley
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Kick-Ass
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "X2" .  } UNION { ?e <pred:name> "Kick-Ass" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Xander Berkeley" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kick-Ass