Question: Which has the most episodes among the animated series that were nominated for a Primetime Emmy Award for Outstanding Animated Program?
Choices:
SpongeBob SquarePants
The Cleveland Show
South Park
Avatar: The Last Airbender
Robot Chicken
Aladdin
King of the Hill
American Dad!
The Simpsons
Batman Beyond
Answer: The Simpsons
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Animated Program" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Animated Program
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest