Question: How many newscasts are a series spin-off of a news program with more than 3900 episodes?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "newscast" . ?e_1 <series_spin-off> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "news" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "3900"^^xsd:double ) .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
3900
>
function: FilterConcept
dependencies: 1
inputs: news
function: Relate
dependencies: 2
inputs: series spin-off
forward
function: FilterConcept
dependencies: 3
inputs: newscast
function: Count
dependencies: 4