Question: What is the topic of the declaration that Cyprus whose license plate code is CY has a diplomatic relation with Malta?
Choices: Israel–European Union relations
Cyprus–Malta relations
Indonesia–Yemen relations
Israel–Uruguay relations
Cuba–Indonesia relations
Afghanistan–China border
Belarus–Lithuania relations
Egypt–Mongolia relations
declaration of Israeli independence
Burkina Faso–Germany relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Cyprus" . ?e_1 <licence_plate_code> ?pv . ?pv <pred:value> "CY" . ?e_2 <pred:name> "Malta" . ?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: Cyprus
function: FilterStr
dependencies: 0
inputs: licence plate code
CY
function: Find
inputs: Malta
function: QueryRelationQualifier
dependencies: 1
2
inputs: diplomatic relation
statement is subject of
Answer: Cyprus–Malta relations