Question: What is the subject of the statement that South Africa has a diplomatic relationship with Bulgaria?
Choices:
Guatemala–Israel relations
15th Tony Awards
Brazil–Portugal relations
Germany–New Zealand Relations
Ethiopia–Somalia relations
France–Libya relations
Italy–Libya relations
Bulgaria–South Africa relations
Serbian Despotate
Saudi–Iraqi Neutral Zone
Answer: Bulgaria–South Africa relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "South Africa" . ?e_2 <pred:name> "Bulgaria" . ?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 .  }
Program:
function: Find
inputs: South Africa
function: Find
inputs: Bulgaria
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of