Question: Which US city in Butte County is led by a mayor?
Choices:
New Haven
Beverly Hills
Greensboro
Chandler
Franklin
Columbus
Chico
Albuquerque
Fort Worth
Waukegan
Program:
function: Find
inputs: mayor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: Butte County
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "mayor" .  ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Butte County" .  }
Answer: Chico