Question: Until when was Berlin's country the Kingdom of Prussia?
Choices:
1984-06-15
1919-11-08
1918-11-08
1823-03-04
1999-04-06
1952-08-03
1819-03-04
1871-01-17
1944-07-13
1860-03-23
Answer: 1871-01-17
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Berlin" . ?e_2 <pred:name> "Kingdom of Prussia" . ?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: Berlin
function: Find
inputs: Kingdom of Prussia
function: QueryRelationQualifier
dependencies: 0
1
inputs: country
end time