Question: What is the autonomous city whose FIPS 6-4 (US provinces) is 51700 and whose postal code is 23601–23609
Choices:
Falls Church
Newport News
Winchester
Hampton
Suffolk
Charlottesville
Roanoke
Danville
Lynchburg
Williamsburg
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
51700
function: FilterConcept
dependencies: 1
inputs: independent city
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
23601–23609
function: FilterConcept
dependencies: 4
inputs: independent city
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "51700" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "23601–23609" .  }
Answer: Newport News