Question: How many miniseries do not have 330 episodes and ended after 2008?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
330
!=
function: FilterConcept
dependencies: 1
inputs: miniseries
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
2008
>
function: FilterConcept
dependencies: 4
inputs: miniseries
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "330"^^xsd:double ) . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 2008 ) .  }
Answer: 7