Question: When was the Kingdom of Great Britain no longer the country for Perth, in Perth and Kinross?
Choices:
1800-12-31
1945-04-20
2006-12-05
1938-01-01
2009-03-18
1509
1879-01-01
1983-06-15
2003-05-20
1608
Program:
function: Find
inputs: Perth and Kinross
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Perth
function: And
dependencies: 1
2
function: Find
inputs: Kingdom of Great Britain
function: QueryRelationQualifier
dependencies: 3
4
inputs: country
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Perth" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Perth and Kinross" . ?e_2 <pred:name> "Kingdom of Great Britain" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1800-12-31