Question: What is the postal code for Chester (the one whose inception time is 1682)?
Choices:
61455
65101–65111
91055
04157
9010, 9011, 9012, 9013, 9014, 9016, 9018, 9022, 9023, 9024, 9035, 9076, 9077, 9081, 9082, 9092
1502–1503
19013
90099
06701–06719
44121-44122-44123-44124
Program:
function: Find
inputs: Chester
function: FilterYear
dependencies: 0
inputs: inception
1682
=
function: QueryAttr
dependencies: 1
inputs: postal code
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Chester" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1682 . ?e <postal_code> ?pv .  }
Answer: 19013