Question: Of animated TV comedy series, which has the lowest season count?
Choices:
Aladdin
Tiny Toon Adventures
The Smurfs
SpongeBob SquarePants
Adrian
Freakazoid!
Animaniacs
The Penguins of Madagascar
The Simpsons
Hercules
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
smallest
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 ?v LIMIT 1
Answer: Adrian