Question: What form of government has Russia–Tanzania diplomatic relations with the sovereign state whose maritime identification digits are 273?
Choices:
Eswatini
Seychelles
Serbia
Tanzania
Zimbabwe
Thailand
Morocco
Germany
Mozambique
Colombia
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: maritime identification digits
273
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Relate
dependencies: 2
inputs: diplomatic relation
backward
function: QFilterStr
dependencies: 3
inputs: statement is subject of
Russia–Tanzania relations
function: FilterConcept
dependencies: 4
inputs: form of government
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "form of government" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <maritime_identification_digits> ?pv . ?pv <pred:value> "273" .  [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Russia–Tanzania relations" .  }
Answer: Tanzania