Question: What is the relationship between McCoy Tyner and Philadelphia, which is headed by a mayor?
Choices:
ancestral home
located in the administrative territorial entity
place of birth
relative
theme music
child
contributor(s) to the creative work
narrator
properties for this type
parent astronomical body
Program:
function: Find
inputs: McCoy Tyner
function: Find
inputs: mayor
function: Relate
dependencies: 1
inputs: office held by head of government
backward
function: Find
inputs: Philadelphia
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "McCoy Tyner" . ?e_2 <pred:name> "Philadelphia" . ?e_2 <office_held_by_head_of_government> ?e_3 . ?e_3 <pred:name> "mayor" . ?e_1 ?p ?e_2 .  }
Answer: place of birth