Question: What is the ending date that John Carter (whose country of citizenship is the Kingdom of Great Britain) is a citizen of the Kingdom of Great Britain?
Choices:
1999-06-25
1837-03-04
1806-07-11
1975-12-21
1881-09-19
1763-02-15
1919-01-01
1975
1889-04-01
1801
Answer: 1801
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Carter" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Kingdom of Great Britain" . ?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: Kingdom of Great Britain
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: John Carter
function: And
dependencies: 1
2
function: Find
inputs: Kingdom of Great Britain
function: QueryRelationQualifier
dependencies: 3
4
inputs: country of citizenship
end time