Question: Does Dressed to Kill (that has Dennis Franz as a cast member) or The Living Daylights have the shorter running time?
Choices:
Dressed to Kill
The Living Daylights
Rebecca
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Pleasantville
The Towering Inferno
Talk to Her
Program:
function: Find
inputs: Dennis Franz
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Dressed to Kill
function: And
dependencies: 1
2
function: Find
inputs: The Living Daylights
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dressed to Kill" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dennis Franz" .   } UNION { ?e <pred:name> "The Living Daylights" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dressed to Kill