Question: How many news broadcasts are originally in American English or include the character Stephen Colbert from The Colbert Report?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "newscast" .  { ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "American English" .  } UNION { ?e <characters> ?e_1 . ?e_1 <pred:name> "Stephen Colbert" . ?e_2 <characters> ?e_1 . ?e_2 <pred:name> "The Colbert Report" .  } }
Program:
function: Find
inputs: American English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: FilterConcept
dependencies: 1
inputs: newscast
function: Find
inputs: The Colbert Report
function: Relate
dependencies: 3
inputs: characters
forward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: characters
backward
function: FilterConcept
dependencies: 7
inputs: newscast
function: Or
dependencies: 2
8
function: Count
dependencies: 9