Question: Which newscast has the smallest number of seasons among the newscasts nominated for Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program?
Choices:
Orange
The Daily Show
Western Desert Campaign
Android
FreeBSD
Second Intifada
The Colbert Report
Today
Napoleonic Wars
Good Morning America
Answer: The Colbert Report
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "newscast" . ?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_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?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: newscast
function: SelectAmong
dependencies: 2
inputs: number of seasons
smallest