Question: Which first-level administrative country subdivision borders the city designated by postal code 1402?
Choices:
Lublin Voivodeship
KwaZulu-Natal
Podlaskie Voivodeship
Upper Austria
Saxony-Anhalt
Lower Austria
Selangor
Minas Gerais
England
Gyeonggi Province
Answer: Lower Austria
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "1402" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
1402
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: shares border with
forward
function: FilterConcept
dependencies: 3
inputs: first-level administrative country subdivision
function: What
dependencies: 4