Question: What is the ending date that the capital of the Confederate States of America is Richmond (whose local area code is 804)?
Choices:
2015-11-03
1992-02-26
1990-10-02
2010-05-06
1865-04-02
1949-12-07
1964-06-19
2007-04-17
1936
2003-02-23
Program:
function: Find
inputs: Confederate States of America
function: Find
inputs: Richmond
function: FilterStr
dependencies: 1
inputs: local dialing code
804
function: QueryRelationQualifier
dependencies: 0
2
inputs: capital
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Confederate States of America" . ?e_2 <pred:name> "Richmond" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> "804" . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1865-04-02