Question: What first-level administrative country subdivision's capital is Perth whose local dialing code is 08934 and official name is Perth?
Choices:
Upper Austria
England
Greater Poland Voivodeship
Minas Gerais
Lublin Voivodeship
New South Wales
Punjab
Podlaskie Voivodeship
Tasmania
Western Australia
Answer: Western Australia
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Perth" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "08934" .  ?e <capital> ?e_2 . ?e_2 <pred:name> "Perth" . ?e_2 <official_name> ?pv_1 . ?pv_1 <pred:value> "Perth" .  }
Program:
function: Find
inputs: Perth
function: FilterStr
dependencies: 0
inputs: local dialing code
08934
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: first-level administrative country subdivision
function: Find
inputs: Perth
function: FilterStr
dependencies: 4
inputs: official name
Perth
function: Relate
dependencies: 5
inputs: capital
backward
function: FilterConcept
dependencies: 6
inputs: first-level administrative country subdivision
function: And
dependencies: 3
7
function: What
dependencies: 8