Question: How many miniseries have a number of seasons not equal to 5 and have a start time not in 2011?
Choices:
18
19
20
21
22
23
24
25
26
27
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seasons
5
!=
function: FilterConcept
dependencies: 1
inputs: miniseries
function: FindAll
function: FilterYear
dependencies: 3
inputs: start time
2011
!=
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_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "5"^^xsd:double ) . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 2011 ) .  }
Answer: 24