Question: Out of the comedies that originally aired on NBC, which has the least amount of seasons?
Choices:
Mr. Smith Goes to Washington
The Golden Girls
Merge Records
farce
Manila
The Monkees
Newnham College
stand-up comedy
comedy of manners
Herbie Hancock
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_seasons> ?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 seasons
smallest