Question: What is the position of David Kaye (the one that is educated at University of California, Berkeley) who is an employee of UCLA School of Law?
Choices:
university teacher
astronaut
queen regnant
United States Secretary of State
president of the French Republic
President of the People's Republic of China
Artists and repertoire
research fellow
reader
professor
Program:
function: Find
inputs: University of California, Berkeley
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: David Kaye
function: And
dependencies: 1
2
function: Find
inputs: UCLA School of Law
function: QueryRelationQualifier
dependencies: 3
4
inputs: employer
position held
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Kaye" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "University of California, Berkeley" . ?e_2 <pred:name> "UCLA School of Law" . ?e_1 <employer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e_2 ] <position_held> ?qpv .  }
Answer: professor