Question: What is the number of private not-for-profit learning institutions having the postal code 08542-0803 or the establishment date that is not in 1822?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "private not-for-profit educational institution" .  { ?e <postal_code> ?pv . ?pv <pred:value> "08542-0803" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1822 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
08542-0803
function: FilterConcept
dependencies: 1
inputs: private not-for-profit educational institution
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1822
!=
function: FilterConcept
dependencies: 4
inputs: private not-for-profit educational institution
function: Or
dependencies: 2
5
function: Count
dependencies: 6