Question: How many animated series were originally in English or have over 6300 episodes?
Choices:
21
22
23
24
25
26
27
28
29
30
Answer: 29
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" .  { ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .  } UNION { ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "6300"^^xsd:double ) .  } }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: FilterConcept
dependencies: 1
inputs: animated series
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of episodes
6300
>
function: FilterConcept
dependencies: 4
inputs: animated series
function: Or
dependencies: 2
5
function: Count
dependencies: 6