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