Question: Of animated series with a debut show later than 1997, which has the fewest seasons?
Choices:
Aladdin
The Cleveland Show
The Fairly OddParents
Tiny Toon Adventures
South Park
The Venture Bros.
Phineas and Ferb
Robot Chicken
Hercules
Batman Beyond
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of first performance
1997
>
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 <date_of_first_performance> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1997 ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hercules