Question: What is the subject of 'diplomatic relation' in 'Taiwan has a diplomatic relation with Senegal' ?
Choices: Senegal–Taiwan relations
Germany–Soviet Union relations
Fiji–Tonga relations
Cuba–Israel relations
New Zealand–Pakistan relations
Andorra–European Union relations
Guatemala–Honduras border
Indonesia–North Korea relations
Kazakhstan–Malaysia relations
Idaho–Nevada border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Taiwan" . ?e_2 <pred:name> "Senegal" . ?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: Senegal
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of
Answer: Senegal–Taiwan relations