Question: Does  Invincible (whose composer is Klaus Badelt) or Nuremberg (that has Alec Baldwin as a cast member) have the longer running time?
Choices: The Challenge
The Goodbye Girl
A Christmas Carol
The Three Musketeers
All Quiet on the Western Front
Shackleton
Invincible
A Streetcar Named Desire
The Late Shift
Nuremberg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Invincible" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Klaus Badelt" .   } UNION { ?e <pred:name> "Nuremberg" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Alec Baldwin" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Klaus Badelt
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Invincible
function: And
dependencies: 1
2
function: Find
inputs: Alec Baldwin
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Nuremberg
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Nuremberg