Question: Does The Killers (the one that has John Cassavetes as a cast member) or The Best Years of Our Lives have less duration?
Choices:
The Best Years of Our Lives
Rebecca
Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
The Towering Inferno
Pleasantville
The Killers
Program:
function: Find
inputs: John Cassavetes
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Killers
function: And
dependencies: 1
2
function: Find
inputs: The Best Years of Our Lives
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Killers" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Cassavetes" .   } UNION { ?e <pred:name> "The Best Years of Our Lives" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Killers