Question: What is the subject of the statement that the European Union has a diplomatic relationship with Morocco whose ISO 3166-1 numeric code is 504?
Choices: 48th Academy Awards
Brunei–Thailand relations
Morocco–European Union relations
Singapore–United States relations
Kazakhstan–Georgia relations
Denmark–Poland relations
Mauritania–Senegal border
China–Liberia relations
Somalia–Taiwan relations
China–Myanmar relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "European Union" . ?e_2 <pred:name> "Morocco" . ?e_2 <ISO_3166-1_numeric_code> ?pv . ?pv <pred:value> "504" . ?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: European Union
function: Find
inputs: Morocco
function: FilterStr
dependencies: 1
inputs: ISO 3166-1 numeric code
504
function: QueryRelationQualifier
dependencies: 0
2
inputs: diplomatic relation
statement is subject of
Answer: Morocco–European Union relations