Question: What is the diplomatic relationship between Benin and Brazil, which has diplomatic ties to Turkey?
Choices:
Telephone numbers in Croatia
68th Tony Awards
China–Trinidad and Tobago relations
Kosovo–Portugal relations
Benin–Brazil relations
Malaysia–Myanmar relations
Germany-Guatemala relations
Azerbaijan–Ukraine relations
Switzerland–Turkey relations
Germany–Israel relations
Answer: Benin–Brazil relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Brazil" . ?e_3 <diplomatic_relation> ?e_1 . ?e_3 <pred:name> "Turkey" . ?e_2 <pred:name> "Benin" . ?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: Turkey
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: Brazil
function: And
dependencies: 1
2
function: Find
inputs: Benin
function: QueryRelationQualifier
dependencies: 3
4
inputs: diplomatic relation
statement is subject of