Question: What part of the agent applies for the one with patronage 12504661 and that's in the Perth with 08614 as its local dialing code?
Choices: Northern Region
8th arrondissement of Lyon
Lake County
French Polynesia
Greene County
Billings County
Western Japan
Community, season 3
female
everything
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Perth" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "08614" . ?e <patronage> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "12504661"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <patronage> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Perth
function: FilterStr
dependencies: 0
inputs: local dialing code
08614
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: agent
function: QueryAttrQualifier
dependencies: 3
inputs: patronage
12504661
applies to part
Answer: everything