Question: How many conservatories are associated with PermID 5000411458 or postal code 19103?
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> "conservatory" .  { ?e <PermID> ?pv . ?pv <pred:value> "5000411458" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "19103" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: PermID
5000411458
function: FilterConcept
dependencies: 1
inputs: conservatory
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
19103
function: FilterConcept
dependencies: 4
inputs: conservatory
function: Or
dependencies: 2
5
function: Count
dependencies: 6