Question: What academic degree did the pianist Brian May get at the Imperial College London?
Choices:
Bachelor of Engineering
Bachelor of Arts
Master of Arts
Master of Laws
Doctor of Philosophy
Doctor of Medicine
Bachelor of Fine Arts
doctorate
Master of Business Administration
Bachelor of Science
Program:
function: Find
inputs: pianist
function: Relate
dependencies: 0
inputs: occupation
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
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Brian May" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "pianist" . ?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 .  }
Answer: Doctor of Philosophy