Question: Which movie is longer, Deadwood or Santa Barbara (the one that was nominated for Daytime Emmy Award for Outstanding Younger Actress in a Drama Series)?
Choices: Deadwood
Game of Thrones
Phineas and Ferb
American Horror Story
Dancing with the Stars
Santa Barbara
Six Feet Under
Bleak House
Saturday Night's Main Event
Seinfeld
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Deadwood" .  } UNION { ?e <pred:name> "Santa Barbara" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Daytime Emmy Award for Outstanding Younger Actress in a Drama Series" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Deadwood
function: Find
inputs: Daytime Emmy Award for Outstanding Younger Actress in a Drama Series
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Santa Barbara
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Deadwood