Question: Among the newscast whose genre is television comedy,which one has the smallest duration ?
Choices:
Good Morning America
Napoleonic Wars
FreeBSD
Today
Western Desert Campaign
manufacturing
The Daily Show
Second Intifada
The Colbert Report
Orange
Program:
function: Find
inputs: television comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: newscast
function: SelectAmong
dependencies: 2
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "newscast" . ?e <genre> ?e_1 . ?e_1 <pred:name> "television comedy" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Daily Show