Question: How many institutions of higher learning are affiliated with the Harvard Graduate School of Design or assigned zip code 10038-1598?
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> "higher education institution" .  { ?e_1 <affiliation> ?e . ?e_1 <pred:name> "Harvard Graduate School of Design" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "10038-1598" .  } }
Program:
function: Find
inputs: Harvard Graduate School of Design
function: Relate
dependencies: 0
inputs: affiliation
forward
function: FilterConcept
dependencies: 1
inputs: higher education institution
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
10038-1598
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: Or
dependencies: 2
5
function: Count
dependencies: 6