Question: How many newscasts there are whose presenter is Al Roker or that is a spin-off of The Colbert Report?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "newscast" .  { ?e <presenter> ?e_1 . ?e_1 <pred:name> "Al Roker" .  } UNION { ?e <series_spin-off> ?e_1 . ?e_1 <pred:name> "The Colbert Report" .  } }
Program:
function: Find
inputs: Al Roker
function: Relate
dependencies: 0
inputs: presenter
backward
function: FilterConcept
dependencies: 1
inputs: newscast
function: Find
inputs: The Colbert Report
function: Relate
dependencies: 3
inputs: series spin-off
backward
function: FilterConcept
dependencies: 4
inputs: newscast
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2