Question: When did John Williams (whose death is 1899-02-07) become a bishop?
Choices:
2000-06-01
1908-04-27
2012-06-25
1851
1998-05-25
1430-03-29
1890
1865-10-02
1986-09-16
2007-07-11
Answer: 1851
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1899-02-07"^^xsd:date . ?e_2 <pred:name> "bishop" . ?e_1 <position_held> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: John Williams
function: FilterDate
dependencies: 0
inputs: date of death
1899-02-07
=
function: Find
inputs: bishop
function: QueryRelationQualifier
dependencies: 1
2
inputs: position held
start time