Question: Of all the comedies in the situation comedy genre, which was the most episodes?
Choices:
stand-up comedy
comedy of manners
farce
Mr. Smith Goes to Washington
The Monkees
Shamrock Rovers F.C.
The Golden Girls
Twilight
Austrian Empire
Jason Sudeikis
Program:
function: Find
inputs: situation comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: comedy
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comedy" . ?e <genre> ?e_1 . ?e_1 <pred:name> "situation comedy" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Golden Girls