Question: What is the sovereign state that the country of Leiden is located in as of 1795?
Choices:
Russian Soviet Federative Socialist Republic
Samoa
Benin
Kiribati
Cambodia
Switzerland
Dutch Republic
Weimar Republic
People's Republic of China
South Sudan
Program:
function: Find
inputs: Leiden
function: Relate
dependencies: 0
inputs: country
forward
function: QFilterYear
dependencies: 1
inputs: end time
1795
=
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <country> ?e . ?e_1 <pred:name> "Leiden" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1795 .  }
Answer: Dutch Republic