Question: What academic degree did Al Green (the one whose Twitter username is RepAlGreen) get at Texas Southern University?
Choices:
bachelor's degree
Bachelor of Fine Arts
Master of Education
Master of Laws
Juris Doctor
Doctor of Medicine
Master of Business Administration
master's degree
Master of Arts
Doctor of Philosophy
Answer: Juris Doctor
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Al Green" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "RepAlGreen" . ?e_2 <pred:name> "Texas Southern University" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_degree> ?qpv .  }
Program:
function: Find
inputs: Al Green
function: FilterStr
dependencies: 0
inputs: Twitter username
RepAlGreen
function: Find
inputs: Texas Southern University
function: QueryRelationQualifier
dependencies: 1
2
inputs: educated at
academic degree