Question: What independent city founded after 1749 has the postal code of 22603?
Choices:
Roanoke
Carson City
Suffolk
Fairfax
Charlottesville
Lynchburg
Danville
Newport News
Williamsburg
Winchester
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1749
>
function: FilterConcept
dependencies: 1
inputs: independent city
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
22603
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 <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1749 ) . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "22603" .  }
Answer: Winchester