Question: Which movie is longer, The Stand (the one that was nominated for Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Miniseries or Television Movie) or Dynasty (the one that was nominated for Primetime Emmy Award for Outstanding Lead Actor in a Drama Series)?
Choices: The Diary of Anne Frank
The Civil War
Edge of Darkness
The Stand
Dynasty
George Washington
Battlestar Galactica
The Ten Commandments
Emma
Roots
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Stand" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Miniseries or Television Movie" .   } UNION { ?e <pred:name> "Dynasty" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Lead Actor in a Drama Series" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Miniseries or Television Movie
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Stand
function: And
dependencies: 1
2
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actor in a Drama Series
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Dynasty
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The Stand