Question: Of comedies originally broadcast on NBC, which has the most seasons?
Choices:
stand-up comedy
farce
The Monkees
Chris Martin
D. H. Lawrence
Mr. Smith Goes to Washington
comedy of manners
The Golden Girls
Frank Skinner
relief pitcher
Answer: The Golden Girls
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 DESC(?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
largest