Question: David Kaye, employed by Georgetown University Law Center, holds what job position in the US State Department?
Choices:
playwright
reader
President of the People's Republic of China
Simonyi Professor for the Public Understanding of Science
lawyer
astronaut
president of the French Republic
Chairman of the Communist Party of China
Artists and repertoire
professor
Answer: lawyer
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Kaye" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> "Georgetown University Law Center" . ?e_2 <pred:name> "United States Department of State" . ?e_1 <employer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e_2 ] <position_held> ?qpv .  }
Program:
function: Find
inputs: Georgetown University Law Center
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: David Kaye
function: And
dependencies: 1
2
function: Find
inputs: United States Department of State
function: QueryRelationQualifier
dependencies: 3
4
inputs: employer
position held