Question: Which animated series has the less number of episodes among the ones that started before 1997?
Choices:
Star Trek: The Animated Series
X-Men
The Adventures of Tintin
Tiny Toon Adventures
The Transformers
Back to the Future
The Simpsons
Aladdin
The Smurfs
Freakazoid!
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1997
<
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of episodes
smallest
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 < 1997 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Star Trek: The Animated Series