Question: Is the season count higher for Law & Order, a Primetime Emmy nominee for Outstanding Lead Actress in a Drama Series, or for Six Feet Under, a SAG nominee for Outstanding Performance by an Ensemble in a Drama Series?
Choices:
Bleak House
Game of Thrones
Seinfeld
Law & Order
Six Feet Under
Babylon 5
Robot Chicken
Saturday Night's Main Event
Phineas and Ferb
Dancing with the Stars
Answer: Law & Order
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Law & Order" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Lead Actress in a Drama Series" .   } UNION { ?e <pred:name> "Six Feet Under" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actress in a Drama Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Law & Order
function: And
dependencies: 1
2
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Six Feet Under
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of seasons
greater