Question: Tell me the comedy originally aired on NBC that has the fewest number of episodes.
Choices:
Baruch Spinoza
Montserrat national football team
stand-up comedy
comedy of manners
The Monkees
farce
research associate
The Kite Runner
The Golden Girls
Mr. Smith Goes to Washington
Answer: The Monkees
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comedy" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "NBC" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: original network
backward
function: FilterConcept
dependencies: 1
inputs: comedy
function: SelectAmong
dependencies: 2
inputs: number of episodes
smallest