Question: Which newscast that was nominated for a Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program has the most episodes?
Choices:
The Colbert Report
Western Desert Campaign
manufacturing
The Daily Show
Second Intifada
Napoleonic Wars
Orange
Today
Android
FreeBSD
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: news
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "news" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Daily Show