Question: Australian Army member John Logan pursued which academic degree at the University of Queensland?
Choices:
Bachelor of General Studies
Master of Business Administration
Bachelor of Engineering
Bachelor of Arts
master's degree
Bachelor of Laws
Juris Doctor
Bachelor of Fine Arts
doctorate
bachelor's degree
Program:
function: Find
inputs: Australian Army
function: Relate
dependencies: 0
inputs: military branch
backward
function: Find
inputs: John Logan
function: And
dependencies: 1
2
function: Find
inputs: University of Queensland
function: QueryRelationQualifier
dependencies: 3
4
inputs: educated at
academic degree
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Logan" . ?e_1 <military_branch> ?e_3 . ?e_3 <pred:name> "Australian Army" . ?e_2 <pred:name> "University of Queensland" . ?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: Bachelor of Laws