Question: Which law school is the employer of David Kaye (the one that is educated at UC Berkeley School of Law) (the start time of this statement is 2007)?
Choices:
UCLA School of Law
New York Law School
Schulich School of Law
Harvard Law School
New York University School of Law
University of Pennsylvania Law School
Fordham University School of Law
Brooklyn Law School
Georgetown University Law Center
University of Michigan Law School
Answer: UCLA School of Law
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "law school" . ?e_1 <employer> ?e . ?e_1 <pred:name> "David Kaye" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "UC Berkeley School of Law" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 2007 .  }
Program:
function: Find
inputs: UC Berkeley School of Law
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: David Kaye
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: employer
forward
function: QFilterYear
dependencies: 4
inputs: start time
2007
=
function: FilterConcept
dependencies: 5
inputs: law school
function: What
dependencies: 6