Question: Tell me the subject of this statement, France has a diplomatic relation with United Arab Emirates.
Choices:
Germany–Malawi relations
89th Academy Awards
South Africa–Ukraine relations
Colombia–Israel relations
Canada–Russia relations
Bhutan–India relations
Ireland–South Africa relations
Denmark–Mexico relations
Bulgaria–Canada relations
France–United Arab Emirates relations
Answer: France–United Arab Emirates relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "France" . ?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: France
function: Find
inputs: United Arab Emirates
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of