Question: Does Dynasty (the one that was nominated for Primetime Emmy Award for Outstanding Drama Series) or Glee has lesser number of seasons ?
Choices:
Dancing with the Stars
Saturday Night's Main Event
Robot Chicken
Game of Thrones
Glee
Dynasty
Phineas and Ferb
Six Feet Under
American Horror Story
Bleak House
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Drama Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Dynasty
function: And
dependencies: 1
2
function: Find
inputs: Glee
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dynasty" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Drama Series" .   } UNION { ?e <pred:name> "Glee" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Glee