Question: What United States city is headed by a mayor and is the birthplace of T-Bone Burnett?
Choices:
Franklin
Davis
Akron
New Haven
Stockton
Norwalk
Waukegan
Columbus
St. Louis
Oakland
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: T-Bone Burnett
function: Relate
dependencies: 3
inputs: place of birth
forward
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_2 <place_of_birth> ?e . ?e_2 <pred:name> "T-Bone Burnett" .  }
Answer: St. Louis