Question: What is the number of secondary schools whose beginning date is after 1861 or not in 1842?
Choices: 5
6
7
8
9
10
11
12
13
14
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 > 1861 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1842 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1861
>
function: FilterConcept
dependencies: 1
inputs: secondary school
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1842
!=
function: FilterConcept
dependencies: 4
inputs: secondary school
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 12