Question: When was the creation of a historical country that is the country of Riga (which, itself, was established on 25th September 1621)?
Choices:
1611-01-01
1925-01-01
1789
1844
1923-07-06
1791-02-16
1946-01-01
1923-10-16
1861
1995-06-08
Answer: 1611-01-01
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e_1 <country> ?e . ?e_1 <pred:name> "Riga" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:date> "1621-09-25"^^xsd:date . ?e <inception> ?pv .  }
Program:
function: Find
inputs: Riga
function: Relate
dependencies: 0
inputs: country
forward
function: QFilterDate
dependencies: 1
inputs: start time
1621-09-25
=
function: FilterConcept
dependencies: 2
inputs: historical country
function: QueryAttr
dependencies: 3
inputs: inception