Question: Among the newscasts that have Stephen Colbert (whose genre is television) as a cast member, which has the smallest duration?
Choices: Android
Good Morning America
Orange
Western Desert Campaign
The Colbert Report
FreeBSD
Second Intifada
The Daily Show
manufacturing
Napoleonic Wars
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "newscast" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Stephen Colbert" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "television" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: television
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: newscast
function: SelectAmong
dependencies: 5
inputs: duration
smallest
Answer: The Daily Show