Question: What diplomatic relationship does the United Kingdom have with South Africa?
Choices:
Malta–Taiwan relations
South Africa–United Kingdom relations
Bangladesh–India border
Australia–Ireland relations
North Korea–Sweden relations
Latvia–Taiwan relations
44th Academy Awards
Spanish transition to democracy
Denmark–Slovakia relations
Ghana–Ivory Coast relations
Answer: South Africa–United Kingdom relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "United Kingdom" . ?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 .  }
Program:
function: Find
inputs: United Kingdom
function: Find
inputs: South Africa
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of