Question: Between Cleopatra, produced by Osamu Tezuka, or Little Children, which is longer?
Choices:
Training Day
Little Children
Talk to Her
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
Cleopatra
The Towering Inferno
The Hunchback of Notre Dame
Rebecca
Program:
function: Find
inputs: Osamu Tezuka
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Cleopatra
function: And
dependencies: 1
2
function: Find
inputs: Little Children
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cleopatra" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Osamu Tezuka" .   } UNION { ?e <pred:name> "Little Children" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Little Children