Question: The Richard Taylor who died on 1829-01-19 belonged to the Continental Army until which date?
Choices:
1957-01-14
1865-05-26
1783
1922-09-09
1897-03-04
1999-03-01
2007-12-31
1970-03-02
1861-01-01
1980-07-18
Program:
function: Find
inputs: Richard Taylor
function: FilterDate
dependencies: 0
inputs: date of death
1829-01-19
=
function: Find
inputs: Continental Army
function: QueryRelationQualifier
dependencies: 1
2
inputs: military branch
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Richard Taylor" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1829-01-19"^^xsd:date . ?e_2 <pred:name> "Continental Army" . ?e_1 <military_branch> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <military_branch> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1783