Question: Which newscast that includes Stephen Colbert, featured on The Colbert Report, has the most episodes?
Choices:
manufacturing
The Colbert Report
Second Intifada
The Daily Show
Orange
Android
FreeBSD
Good Morning America
Napoleonic Wars
Western Desert Campaign
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: number of episodes
largest
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 <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Daily Show