Question: Which sovereign state (in the subject of Kyrgyzstan–Taiwan relations) has a diplomatic relation with the island nation whose ISNI is 0000 0001 2285 649X?
Choices: Bahrain
Peru
Weimar Republic
Czech Republic
Kiribati
Egypt
Kyrgyzstan
Switzerland
Brazil
Madagascar
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "island nation" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 2285 649X" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Kyrgyzstan–Taiwan relations" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2285 649X
function: FilterConcept
dependencies: 1
inputs: island nation
function: Relate
dependencies: 2
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 3
inputs: statement is subject of
Kyrgyzstan–Taiwan relations
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: What
dependencies: 5
Answer: Kyrgyzstan