Question: When was Accra's country known as the Gold Coast (the one that is replaced by Ghana)?
Choices:
1932-10-03
1999-01-31
1992-08-03
1994-09-21
1877
1550
1847-11-27
1799-07-27
2007-07-09
1977-01-03
Answer: 1877
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Accra" . ?e_2 <pred:name> "Gold Coast" . ?e_2 <replaced_by> ?e_3 . ?e_3 <pred:name> "Ghana" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Accra
function: Find
inputs: Ghana
function: Relate
dependencies: 1
inputs: replaced by
backward
function: Find
inputs: Gold Coast
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: country
start time