Question: Which one has more of seasons among the animated series whose genre is television comedy?
Choices:
Phineas and Ferb
The Simpsons
The Fairly OddParents
Freakazoid!
Hercules
Adrian
Family Guy
Animaniacs
Tiny Toon Adventures
The Penguins of Madagascar
Answer: The Simpsons
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <genre> ?e_1 . ?e_1 <pred:name> "television comedy" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: television comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of seasons
largest