Question: Which film has the longer running time, The Rocky Horror Picture Show or Nevada (that has Robert Mitchum as a cast member)?
Choices:
Curse of the Golden Flower
Talk to Her
Nevada
The Towering Inferno
The Rocky Horror Picture Show
The Fifth Element
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Answer: The Rocky Horror Picture Show
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Rocky Horror Picture Show" .  } UNION { ?e <pred:name> "Nevada" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Robert Mitchum" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Rocky Horror Picture Show
function: Find
inputs: Robert Mitchum
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Nevada
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater