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