Question: What is the connection between Fontana (the one that is headed by mayor) to councillor?
Choices: office held by head of government
occupant
conflict
uses
honorific prefix
item operated
given name
symptoms
eye color
home port
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Fontana" . ?e_1 <office_held_by_head_of_government> ?e_3 . ?e_3 <pred:name> "mayor" . ?e_2 <pred:name> "councillor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: mayor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Fontana
function: And
dependencies: 1
2
function: Find
inputs: councillor
function: QueryRelation
dependencies: 3
4
Answer: office held by head of government