Question: What sovereign state is the country of the sovereign state whose country calling code is +677?
Choices:
Kiribati
Iceland
Bangladesh
People's Republic of China
Bahamas
Switzerland
Solomon Islands
East Timor
Weimar Republic
Mongolia
Answer: Solomon Islands
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <country> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <country_calling_code> ?pv . ?pv <pred:value> "+677" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: country calling code
+677
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Relate
dependencies: 2
inputs: country
forward
function: FilterConcept
dependencies: 3
inputs: sovereign state
function: What
dependencies: 4