Question: How are Malaysia and Ghana related?
Choices: operating area
affiliation
diplomatic relation
language of work or name
member of
operator
location
military rank
office contested
head coach
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Malaysia" . ?e_2 <pred:name> "Ghana" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Malaysia
function: Find
inputs: Ghana
function: QueryRelation
dependencies: 0
1
Answer: diplomatic relation