Question: How many theatrical genres have an episode run other than 6800 or come from the People's Republic of China?
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
6800
!=
function: FilterConcept
dependencies: 1
inputs: theatrical genre
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: theatrical genre
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> "theatrical genre" .  { ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "6800"^^xsd:double ) .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "People's Republic of China" .  } }
Answer: 3