Question: Regarding a sovereign state which is the country Paris (with the population of 2,125,246 on 2nd December 1804), when was it dissolved ?
Choices:
2017-11-06
2010
1946-02-01
1945
2004-10-01
2010-01-01
2000-03-25
1804-01-01
-167
2014-06-09
Answer: 1804-01-01
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <country> ?e . ?e_1 <pred:name> "Paris" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2125246"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> "1804-12-02"^^xsd:date . ?e <dissolved,_abolished_or_demolished> ?pv .  }
Program:
function: Find
inputs: Paris
function: FilterNum
dependencies: 0
inputs: population
2125246
=
function: Relate
dependencies: 1
inputs: country
forward
function: QFilterDate
dependencies: 2
inputs: end time
1804-12-02
=
function: FilterConcept
dependencies: 3
inputs: sovereign state
function: QueryAttr
dependencies: 4
inputs: dissolved, abolished or demolished