Question: How many census-designated places use the zip code 20816 or are the capital of Howard County (population 293628)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "census-designated place" .  { ?e <postal_code> ?pv . ?pv <pred:value> "20816" .  } UNION { ?e_1 <capital> ?e . ?e_1 <pred:name> "Howard County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "293628"^^xsd:double .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
20816
function: FilterConcept
dependencies: 1
inputs: census-designated place
function: Find
inputs: Howard County
function: FilterNum
dependencies: 3
inputs: population
293628
=
function: Relate
dependencies: 4
inputs: capital
forward
function: FilterConcept
dependencies: 5
inputs: census-designated place
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 1