Question: What university is the employer of David Kaye (who is an employee of UCLA School of Law) who holds the position of professor?
Choices:
University of Manchester
Pennsylvania State University
University of Tehran
McMaster University
Presidency University
King's College London
McNeese State University
University of California, Irvine
Panjab University
UCLA School of Law
Answer: University of California, Irvine
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <employer> ?e . ?e_1 <pred:name> "David Kaye" . ?e_1 <employer> ?e_2 . ?e_2 <pred:name> "UCLA School of Law" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e ] <position_held> ?qpv . ?qpv <pred:value> "professor" .  }
Program:
function: Find
inputs: UCLA School of Law
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: David Kaye
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: employer
forward
function: QFilterStr
dependencies: 4
inputs: position held
professor
function: FilterConcept
dependencies: 5
inputs: university
function: What
dependencies: 6