Question: How is David Kaye (the employee of the University of California, Irvine) connected to UC Berkeley School of Law?
Choices:
diplomatic relation
educated at
taxon rank
military branch
has effect
appointed by
health specialty
drafted by
position held
place of publication
Answer: educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Kaye" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> "University of California, Irvine" . ?e_2 <pred:name> "UC Berkeley School of Law" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: University of California, Irvine
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: David Kaye
function: And
dependencies: 1
2
function: Find
inputs: UC Berkeley School of Law
function: QueryRelation
dependencies: 3
4