Question: What is the diplomatic relationship between Denmark and the United Arab Emirates?
Choices: Germany-Romania relations
Denmark–United Arab Emirates relations
Bulgaria–Georgia (country) relations
Russia–United Arab Emirates relations
Angola–Republic of the Congo border
China–South Korea relations
Syria–Turkey border
Canada–Soviet Union relations
Côte d'Ivoire–Taiwan relations
Afghanistan–Bangladesh relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Denmark" . ?e_2 <pred:name> "United Arab Emirates" . ?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: Denmark
function: Find
inputs: United Arab Emirates
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of
Answer: Denmark–United Arab Emirates relations