Question: How are the People's Republic of China and Malawi related?
Choices:
diplomatic relation
headquarters location
country of origin
owned by
subsidiary
next higher rank
follows
derivative work
architect
programming paradigm
Program:
function: Find
inputs: People's Republic of China
function: Find
inputs: Malawi
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "People's Republic of China" . ?e_2 <pred:name> "Malawi" . ?e_1 ?p ?e_2 .  }
Answer: diplomatic relation