Question: Regarding the republic that has a border with Libya (this statement's subject is Libya-Tunisia border), and demonym is tunisini, which part does it apply to.
Choices: Cannon County
masculine plural
Qikiqtaaluk Region
Hancock County
Giles County
public transport
Northern Ontario
Ciamis
singing
Yukon
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Libya" . [ <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> "Libya–Tunisia border" . ?e <demonym> ?pv . ?pv <pred:value> "tunisini" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Libya
function: Relate
dependencies: 0
inputs: shares border with
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Libya–Tunisia border
function: FilterConcept
dependencies: 2
inputs: republic
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
tunisini
applies to part
Answer: masculine plural