Question: To which part of the state that shares a border with the Republic of the Congo (whose population is 3044444) does the demonym "gabonezi" apply?
Choices:
Washington County
Clipperton Island
Peace River Regional District
Northern Ireland
professor
Kivalliq Region
plural
mainland Australia
14th arrondissement of Paris
Rhea County
Answer: plural
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Republic of the Congo" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3044444"^^xsd:double . ?e <demonym> ?pv . ?pv <pred:value> "gabonezi" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Republic of the Congo
function: FilterNum
dependencies: 0
inputs: population
3044444
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: state
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
gabonezi
applies to part