Question: When did Perth (the one whose country is United Kingdom) become capital of Perth and Kinross?
Choices:
2015-08-03
1990-03-07
1937-12-29
2018-01-09
1975
1997-03-03
2013-04-08
2001-10-14
1992-11-18
1901-03-04
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Perth
function: And
dependencies: 1
2
function: Find
inputs: Perth and Kinross
function: QueryRelationQualifier
dependencies: 3
4
inputs: capital of
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Perth" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "Perth and Kinross" . ?e_1 <capital_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Answer: 1975