Question: How many independent cities correspond with telephone area code 540 or FIPS 6-4 (US counties) code 32510?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
540
function: FilterConcept
dependencies: 1
inputs: independent city
function: FindAll
function: FilterStr
dependencies: 3
inputs: FIPS 6-4 (US counties)
32510
function: FilterConcept
dependencies: 4
inputs: independent city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" .  { ?e <local_dialing_code> ?pv . ?pv <pred:value> "540" .  } UNION { ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "32510" .  } }
Answer: 6