Question: What language is associated with the official website http://www.law.ucla.edu for the law school that employs David Kaye (who is an employee of UCLA School of Law) in the position of professor?
Choices:
Indian English
Afrikaans
Russian
Valencian
Yue Chinese
Portuguese
English
Macedonian
National language of Republic of China
Atikamekw
Answer: English
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "law school" . ?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_1 . ?qpv_1 <pred:value> "professor" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.law.ucla.edu" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
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: law school
function: QueryAttrQualifier
dependencies: 6
inputs: official website
http://www.law.ucla.edu
language of work or name