Question: Of news shows with Irish American Stephen Colbert in the cast, which has the most seasons?
Choices:
Android
The Colbert Report
Good Morning America
Today
manufacturing
FreeBSD
Napoleonic Wars
Western Desert Campaign
The Daily Show
Orange
Answer: The Daily Show
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "news" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Stephen Colbert" . ?e_1 <ethnic_group> ?e_2 . ?e_2 <pred:name> "Irish Americans" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Irish Americans
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: news
function: SelectAmong
dependencies: 5
inputs: number of seasons
largest