Question: Tell me the end time of Baden-Baden's country is German Empire (which has Hermann Hesse as a citizen)
Choices:
2012-12-13
2008-07-31
1840
1992-04-27
1775
1991-06-25
1968-06-10
1919-11-08
1945-07-26
1968-03-14
Program:
function: Find
inputs: Baden-Baden
function: Find
inputs: Hermann Hesse
function: Relate
dependencies: 1
inputs: country of citizenship
forward
function: Find
inputs: German Empire
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: country
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Baden-Baden" . ?e_2 <pred:name> "German Empire" . ?e_3 <country_of_citizenship> ?e_2 . ?e_3 <pred:name> "Hermann Hesse" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1919-11-08