Question: When did Havana (the one whose demonym is Habanero) stop becoming a part of the Spanish Empire?
Choices: 1865
1976-12-31
1934-07-01
1971-12-16
1866-05-09
1775
1865-05-10
2015-01-01
1989-09-14
1895-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Havana" . ?e_1 <demonym> ?pv . ?pv <pred:value> "Habanero" . ?e_2 <pred:name> "Spanish Empire" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Havana
function: FilterStr
dependencies: 0
inputs: demonym
Habanero
function: Find
inputs: Spanish Empire
function: QueryRelationQualifier
dependencies: 1
2
inputs: country
end time
Answer: 1895-01-01