Question: tell me the sovereign state that has a diplomatic relationship with Germany (the subject statement is Djibouti-Germany relations) and that has the demonym djiboutier.
Choices: South Sudan
Samoa
Benin
Weimar Republic
Kiribati
People's Republic of China
Djibouti
Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
Cambodia
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Germany" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Djibouti-Germany relations" . ?e <demonym> ?pv . ?pv <pred:value> "djiboutier" .  }
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Djibouti-Germany relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: FindAll
function: FilterStr
dependencies: 4
inputs: demonym
djiboutier
function: FilterConcept
dependencies: 5
inputs: sovereign state
function: And
dependencies: 3
6
function: What
dependencies: 7
Answer: Djibouti