Question: Cuba, founded on 1898-12-10, has what diplomatic relationship with Grenada?
Choices:
Chile–Uruguay relations
Mauritania–Senegal border
Pakistan–Russia Relation
Cuba–Grenada relations
Ukraine-Italy relations
Italy–Malta border
Iowa–Wisconsin border
United Kingdom–Venezuela relations
France–Georgia relations
European Union–Montenegro border
Answer: Cuba–Grenada relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Cuba" . ?e_1 <inception> ?pv . ?pv <pred:date> "1898-12-10"^^xsd:date . ?e_2 <pred:name> "Grenada" . ?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: Cuba
function: FilterDate
dependencies: 0
inputs: inception
1898-12-10
=
function: Find
inputs: Grenada
function: QueryRelationQualifier
dependencies: 1
2
inputs: diplomatic relation
statement is subject of