Question: How is mayor-led Chico related to the office of mayor?
Choices:
office held by head of government
allegiance
occupation
substitute/deputy/replacement of office/officeholder
derivative work
office held by head of state
manner of death
located in or next to body of water
studied by
afflicts
Program:
function: Find
inputs: mayor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Chico
function: And
dependencies: 1
2
function: Find
inputs: mayor
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chico" . ?e_1 <office_held_by_head_of_government> ?e_3 . ?e_3 <pred:name> "mayor" . ?e_2 <pred:name> "mayor" . ?e_1 ?p ?e_2 .  }
Answer: office held by head of government