Question: How many animated series are there whose start date is after 1995 or number of episodes is not 5100?
Choices:
29
30
31
32
33
34
35
36
37
38
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1995
>
function: FilterConcept
dependencies: 1
inputs: animated series
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of episodes
5100
!=
function: FilterConcept
dependencies: 4
inputs: animated series
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" .  { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1995 ) .  } UNION { ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "5100"^^xsd:double ) .  } }
Answer: 35