Question: Which one is longer,  Indiana Jones and the Kingdom of the Crystal Skull or RoboCop (the one that has Ray Wise as a cast member) ?
Choices:
Talk to Her
The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
The Towering Inferno
The Fifth Element
Curse of the Golden Flower
Indiana Jones and the Kingdom of the Crystal Skull
Training Day
RoboCop
Program:
function: Find
inputs: Indiana Jones and the Kingdom of the Crystal Skull
function: Find
inputs: Ray Wise
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: RoboCop
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Indiana Jones and the Kingdom of the Crystal Skull" .  } UNION { ?e <pred:name> "RoboCop" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ray Wise" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Indiana Jones and the Kingdom of the Crystal Skull