Question: Among the animated series, whose genre is children's television series, which one has the most number of seasons?
Choices:
The Venture Bros.
Batman Beyond
American Dad!
Robot Chicken
Aladdin
Tiny Toon Adventures
Fantastic Four
The Smurfs
South Park
Phineas and Ferb
Answer: The Smurfs
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <genre> ?e_1 . ?e_1 <pred:name> "children's television series" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: children's television series
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of seasons
largest