Question: When did Yekaterinburg's country become the Russian Soviet Federative Socialist Republic (that is the country of Riga)?
Choices:
1997-01-03
2010-10-26
1861-02-18
1803
1995-01-01
-218
1994-06-06
2017-11-10
1915-06-12
1917-10-25
Program:
function: Find
inputs: Yekaterinburg
function: Find
inputs: Riga
function: Relate
dependencies: 1
inputs: country
forward
function: Find
inputs: Russian Soviet Federative Socialist Republic
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: country
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Yekaterinburg" . ?e_2 <pred:name> "Russian Soviet Federative Socialist Republic" . ?e_3 <country> ?e_2 . ?e_3 <pred:name> "Riga" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Answer: 1917-10-25