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