Question: Tell me the subject of the statement Taiwan has a diplomatic relation with Rwanda.
Choices:
Ecuador–Venezuela relations
death of Marvin Gaye
Rwanda–Taiwan relations
Germany–Kyrgyzstan relations
Michigan–Ohio border
Ethiopia–Turkey relations
14th Tony Awards
Kenya–Mexico relations
Kyrgyzstan–Pakistan relations
Bangladesh–North Korea relations
Answer: Rwanda–Taiwan relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Taiwan" . ?e_2 <pred:name> "Rwanda" . ?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: Taiwan
function: Find
inputs: Rwanda
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of