Question: Which has the most seasons among the animated series that started before 1990?
Choices:
The Simpsons
Tiny Toon Adventures
Robot Chicken
The Flintstones
Star Trek: The Animated Series
The Smurfs
The Transformers
Aladdin
The Cleveland Show
Batman Beyond
Answer: The Simpsons
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1990 ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1990
<
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of seasons
largest