Question: What is the subject of the statement Malawi has a diplomatic relation with South Africa?
Choices:
Malawi–South Africa relations
Belarus–Israel relations
Central African Republic–China relations
Philippines–Singapore relations
Germany–Madagascar relations
New Jersey–Pennsylvania border
Angola–Taiwan relations
Brazil–Spain relations
Indonesia–Suriname relations
Czech Republic–European Union border
Program:
function: Find
inputs: Malawi
function: Find
inputs: South Africa
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Malawi" . ?e_2 <pred:name> "South Africa" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Answer: Malawi–South Africa relations