Question: Among the industries that were nominated for Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program,which one has the largest number of episodes ?
Choices:
The Colbert Report
The Daily Show
Today
Napoleonic Wars
Western Desert Campaign
Android
Orange
Good Morning America
manufacturing
FreeBSD
Answer: The Daily Show
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "industry" . ?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
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: industry
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest