Question: How many miniseries were started after 2016 or do not have an episode count of 630?
Choices:
43
44
45
46
47
48
49
50
51
52
Answer: 51
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" .  { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2016 ) .  } UNION { ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "630"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
2016
>
function: FilterConcept
dependencies: 1
inputs: miniseries
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of episodes
630
!=
function: FilterConcept
dependencies: 4
inputs: miniseries
function: Or
dependencies: 2
5
function: Count
dependencies: 6