Question: Which movie is shorter, The Three Musketeers (the one that has Roy Kinnear as a cast member) or Prometheus?
Choices:
Curse of the Golden Flower
A Prairie Home Companion
Rebecca
Training Day
The Towering Inferno
The Three Musketeers
The Fifth Element
Pleasantville
Prometheus
Talk to Her
Program:
function: Find
inputs: Roy Kinnear
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: Prometheus
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Three Musketeers" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Roy Kinnear" .   } UNION { ?e <pred:name> "Prometheus" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Three Musketeers