Question: How many private not-for-profit educational institutions are located in Princeton or whose postal code is 12538-1499?
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 not-for-profit educational institution" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Princeton" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "12538-1499" .  } }
Program:
function: Find
inputs: Princeton
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: private not-for-profit educational institution
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
12538-1499
function: FilterConcept
dependencies: 4
inputs: private not-for-profit educational institution
function: Or
dependencies: 2
5
function: Count
dependencies: 6