Question: How many newscasts have over 5400 episodes but fewer than 2700?
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 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "5400"^^xsd:double ) . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "2700"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
5400
>
function: FilterConcept
dependencies: 1
inputs: newscast
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of episodes
2700
<
function: FilterConcept
dependencies: 4
inputs: newscast
function: And
dependencies: 2
5
function: Count
dependencies: 6