Question: How many independent cities are at zip code 22311 or are designated by FIPS 6-4 (US counties) code 51730?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" .  { ?e <postal_code> ?pv . ?pv <pred:value> "22311" .  } UNION { ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "51730" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
22311
function: FilterConcept
dependencies: 1
inputs: independent city
function: FindAll
function: FilterStr
dependencies: 3
inputs: FIPS 6-4 (US counties)
51730
function: FilterConcept
dependencies: 4
inputs: independent city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2