Question: What is the postal code in the Pennsylvania city that is the capital of York County and has a population of 435510?
Choices:
L1K
02861
9301
400 10–418 79
28201
17401
50858
75012
47721
50676
Program:
function: Find
inputs: York County
function: FilterNum
dependencies: 0
inputs: population
435510
=
function: Relate
dependencies: 1
inputs: capital
forward
function: FilterConcept
dependencies: 2
inputs: city of Pennsylvania
function: QueryAttr
dependencies: 3
inputs: postal code
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e_1 <capital> ?e . ?e_1 <pred:name> "York County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "435510"^^xsd:double . ?e <postal_code> ?pv .  }
Answer: 17401