Question: What is the subject of the statement "Mexico has a diplomatic relation with El Salvador"?
Choices:
Kosovo–Serbia border
El Salvador–Mexico relations
Bulgaria–Russia relations
China–North Korea border
South Africa–European Union relations
47th Tony Awards
Kenya–Somalia relations
Honduras–United States relations
Croatia–Hungary relations
Philippines–Thailand relations
Program:
function: Find
inputs: Mexico
function: Find
inputs: El Salvador
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mexico" . ?e_2 <pred:name> "El Salvador" . ?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 .  }
Answer: El Salvador–Mexico relations