Question: What is the academic degree of both Joan Rivers (the academic major of this statement is anthropology) and Stephen Hawking?
Choices:
Bachelor of Arts
Juris Doctor
Master of Arts
Master of Philosophy
diploma
Bachelor of Laws
Doctor of Philosophy
Bachelor of Engineering
associate degree
Bachelor of Fine Arts
Program:
function: Find
inputs: Joan Rivers
function: Relate
dependencies: 0
inputs: academic degree
forward
function: QFilterStr
dependencies: 1
inputs: academic major
anthropology
function: FilterConcept
dependencies: 2
inputs: academic degree
function: Find
inputs: Stephen Hawking
function: Relate
dependencies: 4
inputs: academic degree
forward
function: FilterConcept
dependencies: 5
inputs: academic degree
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "academic degree" . ?e_1 <academic_degree> ?e . ?e_1 <pred:name> "Joan Rivers" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <academic_degree> ; <pred:fact_t> ?e ] <academic_major> ?qpv . ?qpv <pred:value> "anthropology" . ?e_2 <academic_degree> ?e . ?e_2 <pred:name> "Stephen Hawking" .  }
Answer: Bachelor of Arts