Question: Which political party is headquartered in the city with local dialing code 07322?
Choices:
Ulster Unionist Party
Ontario Liberal Party
Australian Greens
Queensland University of Technology
Brisbane Roar FC
Democratic Party
Democratic Unionist Party
Progressive Conservative Party of Ontario
Liberal National Party of Queensland
Cumann na nGaedheal
Answer: Liberal National Party of Queensland
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "07322" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
07322
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: FilterConcept
dependencies: 3
inputs: political party
function: What
dependencies: 4