Question: Which industry that claims a member named Stephen Colbert (whose profession is comedian) has the most seasons?
Choices:
manufacturing
Napoleonic Wars
The Colbert Report
The Daily Show
Android
Western Desert Campaign
Today
FreeBSD
Good Morning America
Orange
Program:
function: Find
inputs: comedian
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: industry
function: SelectAmong
dependencies: 5
inputs: number of seasons
largest
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 <occupation> ?e_2 . ?e_2 <pred:name> "comedian" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Daily Show