Question: John Williams, who died on 1899-02-07, was a bishop until what date?
Choices: 1899
1873
2017-05-15
1944
1989-12-02
1922
1920-07-11
1801-02-16
1944-07-01
1829-03-04
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 ] <end_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
end time
Answer: 1899