Question: How many secondary schools began after 1842 or belong to the allegiance of the People's Republic of China?
Choices: 8
9
10
11
12
13
14
15
16
17
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "secondary school" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1842 ) .  } UNION { ?e <allegiance> ?e_1 . ?e_1 <pred:name> "People's Republic of China" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1842
>
function: FilterConcept
dependencies: 1
inputs: secondary school
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 3
inputs: allegiance
backward
function: FilterConcept
dependencies: 4
inputs: secondary school
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 9