Question: Does Days of our Lives or Law & Order (nominated for the Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series) have fewer seasons?
Choices:
Seinfeld
Law & Order
Saturday Night's Main Event
Dancing with the Stars
Game of Thrones
Robot Chicken
Bleak House
Six Feet Under
Phineas and Ferb
American Horror Story
Answer: Law & Order
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Days of our Lives" .  } UNION { ?e <pred:name> "Law & Order" . ?e <nominated_for> ?e_1 . ?e_1 <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 ?v LIMIT 1
Program:
function: Find
inputs: Days of our Lives
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Law & Order
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less