Question: Which has the most seasons among the industry whose genre is television comedy?
Choices:
The Daily Show
FreeBSD
Good Morning America
Today
Orange
Android
Western Desert Campaign
The Colbert Report
Second Intifada
manufacturing
Answer: The Daily Show
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "industry" . ?e <genre> ?e_1 . ?e_1 <pred:name> "television comedy" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: television comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: industry
function: SelectAmong
dependencies: 2
inputs: number of seasons
largest