Question: When did John Williams (whose British Museum person-institution is 167926) stop being a citizen of Kingdom of Great Britain?
Choices:
2011-09-15
1860-12-14
1809-03-04
2001-05-22
2007-07-01
1913-03-01
2016-01-03
1801-01-01
1940-05-10
1946-01-31
Answer: 1801-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <British_Museum_person-institution> ?pv . ?pv <pred:value> "167926" . ?e_2 <pred:name> "Kingdom of Great Britain" . ?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: John Williams
function: FilterStr
dependencies: 0
inputs: British Museum person-institution
167926
function: Find
inputs: Kingdom of Great Britain
function: QueryRelationQualifier
dependencies: 1
2
inputs: country of citizenship
end time