Question: When did Marlene Dietrich end her citizenship in the German Empire (the country of Baden-Baden)?
Choices:
2010-03-01
2007-07-11
1918
2002
2000-12-18
1977-05-22
1988-02-28
2015-02-24
1991-11-08
1999-06-02
Answer: 1918
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Marlene Dietrich" . ?e_2 <pred:name> "German Empire" . ?e_3 <country> ?e_2 . ?e_3 <pred:name> "Baden-Baden" . ?e_1 <country_of_citizenship> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Marlene Dietrich
function: Find
inputs: Baden-Baden
function: Relate
dependencies: 1
inputs: country
forward
function: Find
inputs: German Empire
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: country of citizenship
end time