Question: Of newscasts that include Stephen Colbery, who appears in The Colbert Report, which has the shortest duration?
Choices:
Good Morning America
Napoleonic Wars
Western Desert Campaign
Today
The Daily Show
The Colbert Report
Second Intifada
FreeBSD
manufacturing
Android
Program:
function: Find
inputs: The Colbert Report
function: Relate
dependencies: 0
inputs: characters
forward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: present in work
forward
function: FilterConcept
dependencies: 4
inputs: newscast
function: SelectAmong
dependencies: 5
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "newscast" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Stephen Colbert" . ?e_2 <characters> ?e_1 . ?e_2 <pred:name> "The Colbert Report" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Daily Show