Question: When did the German Empire (the one that includes Weimar Republic as a part) get replaced by West Germany?
Choices: 1986-03-24
1864
1685
1924-01-01
2016-12-17
2000-07-05
2016-10-08
2006-01-18
1930-11-01
1949-05-23
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "German Empire" . ?e_1 <has_part> ?e_3 . ?e_3 <pred:name> "Weimar Republic" . ?e_2 <pred:name> "West Germany" . ?e_1 <replaced_by> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <replaced_by> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Weimar Republic
function: Relate
dependencies: 0
inputs: has part
backward
function: Find
inputs: German Empire
function: And
dependencies: 1
2
function: Find
inputs: West Germany
function: QueryRelationQualifier
dependencies: 3
4
inputs: replaced by
point in time
Answer: 1949-05-23