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
Program:
function: Find
inputs: Malaysia
function: Find
inputs: Ghana
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Malaysia" . ?e_2 <pred:name> "Ghana" . ?e_1 ?p ?e_2 .  }
Answer: diplomatic relation