Question: Which one, Death on the Nile (the one that has Jack Warden as a cast member) or Topsy-Turvy, has less duration?
Choices:
Death on the Nile
Training Day
Curse of the Golden Flower
Topsy-Turvy
The Towering Inferno
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
Pleasantville
Program:
function: Find
inputs: Jack Warden
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Death on the Nile
function: And
dependencies: 1
2
function: Find
inputs: Topsy-Turvy
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Death on the Nile" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jack Warden" .   } UNION { ?e <pred:name> "Topsy-Turvy" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Death on the Nile