Question: Among the industries that include cast member Stephen Colbert (whose Twitter username is StephenAtHome), which has the smallest number of episodes?
Choices:
The Colbert Report
manufacturing
Android
Today
The Daily Show
Napoleonic Wars
FreeBSD
Second Intifada
Orange
Good Morning America
Program:
function: Find
inputs: Stephen Colbert
function: FilterStr
dependencies: 0
inputs: Twitter username
StephenAtHome
function: Relate
dependencies: 1
inputs: cast member
backward
function: FilterConcept
dependencies: 2
inputs: industry
function: SelectAmong
dependencies: 3
inputs: number of episodes
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "industry" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Stephen Colbert" . ?e_1 <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "StephenAtHome" . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Colbert Report