Question: How is Bakersfield related to mayor?
Choices:
source of material
illustrator
allegiance
office held by head of government
uses
mascot
works in collection
native language
instrumentation
filming location
Program:
function: Find
inputs: Bakersfield
function: Find
inputs: mayor
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bakersfield" . ?e_2 <pred:name> "mayor" . ?e_1 ?p ?e_2 .  }
Answer: office held by head of government