Question: Which is longer, Chicken Little distributed by RKO Pictures or Lost in Space with Jared Harris as a cast member?
Choices:
Pleasantville
Rebecca
A Prairie Home Companion
The Towering Inferno
Talk to Her
Training Day
Lost in Space
The Fifth Element
Chicken Little
The Hunchback of Notre Dame
Answer: Lost in Space
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chicken Little" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "RKO Pictures" .   } UNION { ?e <pred:name> "Lost in Space" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Jared Harris" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: RKO Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Chicken Little
function: And
dependencies: 1
2
function: Find
inputs: Jared Harris
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Lost in Space
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater