Question: Which animated series that ended before 1999 has the most episodes?
Choices: American Dad!
Tiny Toon Adventures
The Flintstones
Batman Beyond
Aladdin
The Smurfs
X-Men
The Transformers
Robot Chicken
The Cleveland Show
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1999 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1999
<
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest
Answer: Tiny Toon Adventures