Question: Which part of a sovereign state that borders Colombia (Colombia-Ecuador border) does its demonym إكوادوريون apply to ?
Choices:
France
Metropolitan France
Grundy County
4th arrondissement of Lyon
plural
Slope County
Maine
public administration
Stewart County
Russia
Answer: plural
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> "Colombia" . [ <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> "Colombia–Ecuador border" . ?e <demonym> ?pv . ?pv <pred:value> "إكوادوريون" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Colombia
function: Relate
dependencies: 0
inputs: shares border with
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Colombia–Ecuador border
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
إكوادوريون
applies to part