Question: How many miniseries that have over 5900 episodes concluded prior to 2014?
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> "miniseries" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "5900"^^xsd:double ) . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2014 ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
5900
>
function: FilterConcept
dependencies: 1
inputs: miniseries
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
2014
<
function: FilterConcept
dependencies: 4
inputs: miniseries
function: And
dependencies: 2
5
function: Count
dependencies: 6