Question: Is Detroit starring Malcolm David Kelley or Cleopatra produced by Osamu Tezuka shorter?
Choices:
The Towering Inferno
The Fifth Element
Talk to Her
Curse of the Golden Flower
A Prairie Home Companion
Detroit
Cleopatra
Training Day
Rebecca
The Hunchback of Notre Dame
Answer: Cleopatra
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Detroit" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Malcolm David Kelley" .   } UNION { ?e <pred:name> "Cleopatra" . ?e <producer> ?e_2 . ?e_2 <pred:name> "Osamu Tezuka" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Malcolm David Kelley
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Detroit
function: And
dependencies: 1
2
function: Find
inputs: Osamu Tezuka
function: Relate
dependencies: 4
inputs: producer
backward
function: Find
inputs: Cleopatra
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less