Question: How many newscasts feature the character of 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 <characters> ?e_1 . ?e_1 <pred:name> "Stephen Colbert" . ?e_1 <present_in_work> ?e_2 . ?e_2 <pred:name> "The Colbert Report" .   }
Program:
function: Find
inputs: The Colbert Report
function: Relate
dependencies: 0
inputs: present in work
backward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: characters
backward
function: FilterConcept
dependencies: 4
inputs: newscast
function: Count
dependencies: 5