Question: What academic degree is the college degree on the date 1829-01-01 of John Locke whose date of birth is 1805-01-01?
Choices:
Bachelor of Arts
Master of Arts
Bachelor of Science
Doctor of Philosophy
diploma
Juris Doctor
Bachelor of Engineering
Master of Philosophy
associate degree
Bachelor of Laws
Program:
function: Find
inputs: John Locke
function: FilterDate
dependencies: 0
inputs: date of birth
1805-01-01
=
function: Relate
dependencies: 1
inputs: academic degree
forward
function: QFilterDate
dependencies: 2
inputs: point in time
1829-01-01
=
function: FilterConcept
dependencies: 3
inputs: academic degree
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "academic degree" . ?e_1 <academic_degree> ?e . ?e_1 <pred:name> "John Locke" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1805-01-01"^^xsd:date .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <academic_degree> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:date> "1829-01-01"^^xsd:date .  }
Answer: Bachelor of Arts