Question: Which, among the theatrical genre, has the largest number of episodes that originally aired on NBC?
Choices:
farce
stand-up comedy
The Monkees
Jane Alexander
comedy of manners
Sayonara
The Golden Girls
The Godfather Part III
Mr. Smith Goes to Washington
The League of Extraordinary Gentlemen
Answer: The Golden Girls
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "theatrical genre" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "NBC" .  ?e <number_of_episodes> ?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: theatrical genre
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest