Question: Why does Madagascar (a member of the African Union) have diplomatic relations with Indonesia?
Choices: Norway–European Union relations
54th Tony Awards
Indonesia–Madagascar relations
Mexico–United Arab Emirates relations
Ireland–Ukraine relations
South Korea–Switzerland relations
Angola–Portugal relations
China–Ecuador relations
Switzerland–Uruguay relations
GBM
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Madagascar" . ?e_1 <member_of> ?e_3 . ?e_3 <pred:name> "African Union" . ?e_2 <pred:name> "Indonesia" . ?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: African Union
function: Relate
dependencies: 0
inputs: member of
backward
function: Find
inputs: Madagascar
function: And
dependencies: 1
2
function: Find
inputs: Indonesia
function: QueryRelationQualifier
dependencies: 3
4
inputs: diplomatic relation
statement is subject of
Answer: Indonesia–Madagascar relations