Question: For the nation that has a diplomatic relationship with Taiwan (the subject is The Gambia–Taiwan relations), to which part does the nation's gambiane demonym apply?
Choices:
Cannon County
Johnson County
member of parliament
Community, season 6
Doctor Who
children who lived to adulthood
East Jerusalem
feminine plural
full-time
Lower Austria
Answer: feminine plural
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Taiwan" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "The Gambia–Taiwan relations" . ?e <demonym> ?pv . ?pv <pred:value> "gambiane" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Taiwan
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
The Gambia–Taiwan relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
gambiane
applies to part