Question: What is the name of the public office for the head of government in the independent city whose WOEID is 2512636?
Choices:
Governor of Texas
Governor of New Jersey
Sailor Moon S: The Movie
Governor of Kentucky
mayor
attorney general
Led Zeppelin
Governor of Massachusetts
Governor of New York
The Orphanage
Answer: mayor
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public office" . ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "independent city" . ?e_1 <WOEID> ?pv . ?pv <pred:value> "2512636" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
2512636
function: FilterConcept
dependencies: 1
inputs: independent city
function: Relate
dependencies: 2
inputs: office held by head of government
forward
function: FilterConcept
dependencies: 3
inputs: public office
function: What
dependencies: 4