Question: What academic degree does Brian May, who's music genre is glam rock, hold from Imperial College London?
Choices:
Master of Business Administration
Master of Fine Arts
Bachelor of Science
Master of Science
Bachelor of Engineering
Bachelor of Fine Arts
Doctor of Medicine
undergraduate degree
Doctor of Philosophy
Master of Education
Program:
function: Find
inputs: glam rock
function: Relate
dependencies: 0
inputs: genre
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 <genre> ?e_3 . ?e_3 <pred:name> "glam rock" . ?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