Question: How many democracies contain the administrative division which equals the region of France whose ISO 3166-2 code is FR-NOR (the start time of this statement is 2016)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "region of France" . ?e_1 <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "FR-NOR" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv . ?qpv <pred:year> 2016 .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
FR-NOR
function: QFilterYear
dependencies: 1
inputs: start time
2016
=
function: FilterConcept
dependencies: 2
inputs: region of France
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: democracy
function: Count
dependencies: 5