Question: How many private schools with ARCHON code 1143 or were established before 1560?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "private school" .  { ?e <ARCHON_code> ?pv . ?pv <pred:value> "1143" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1560 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ARCHON code
1143
function: FilterConcept
dependencies: 1
inputs: private school
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1560
<
function: FilterConcept
dependencies: 4
inputs: private school
function: Or
dependencies: 2
5
function: Count
dependencies: 6