Question: How many people live in the 14901 postal code?
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> "city of New York" .  { ?e <postal_code> ?pv . ?pv <pred:value> "14901" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "Buffalo" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
14901
function: FilterConcept
dependencies: 1
inputs: city of New York
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
Buffalo
function: FilterConcept
dependencies: 4
inputs: city of New York
function: Or
dependencies: 2
5
function: Count
dependencies: 6