Question: The demonym congolez applies to which part of the sovereign state whose shared border is Gabon–Republic of the Congo?
Choices:
Mölndal Municipality
McNairy County
coastal waters of Australia
Hancock County
Saxony
Doors Open Days
Community, season 5
graduate student
masculine
United States Virgin Islands
Answer: masculine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Gabon" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Gabon–Republic of the Congo border" . ?e <demonym> ?pv . ?pv <pred:value> "congolez" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Gabon
function: Relate
dependencies: 0
inputs: shares border with
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Gabon–Republic of the Congo border
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
congolez
applies to part