Question: What national association football team is from a sovereign country that has a diplomatic relation with Malaysia (the subject of this statement is Kenya–Malaysia relations) ?
Choices:
Uzbekistan national football team
Nairobi
Bahrain national football team
Finland national football team
Syria national football team
Kenya national football team
South Korea national football team
Greece national football team
Cyprus national football team
Malaysia national football team
Program:
function: Find
inputs: Malaysia
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Kenya–Malaysia relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: national association football team
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "national association football team" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> "Malaysia" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Kenya–Malaysia relations" .   }
Answer: Kenya national football team