Question: How is Cebu City related to a mayor?
Choices:
source of material
start point
mother
office held by head of government
place of birth
child
has parts of the class
tributary
capital
has edition
Program:
function: Find
inputs: Cebu City
function: Find
inputs: mayor
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cebu City" . ?e_2 <pred:name> "mayor" . ?e_1 ?p ?e_2 .  }
Answer: office held by head of government