Question: What degree did the bass guitarist Brian May receive from the Imperial College London?
Choices:
bachelor's degree
master's degree
Master of Education
Bachelor of Fine Arts
Juris Doctor
Doctor of Philosophy
Master of Science
doctorate
not completed
Bachelor of Engineering
Answer: Doctor of Philosophy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Brian May" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> "bass guitar" . ?e_2 <pred:name> "Imperial College London" . ?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: bass guitar
function: Relate
dependencies: 0
inputs: instrument
backward
function: Find
inputs: Brian May
function: And
dependencies: 1
2
function: Find
inputs: Imperial College London
function: QueryRelationQualifier
dependencies: 3
4
inputs: educated at
academic degree