Question: Tell me the subject of the statement Samoa has a diplomatic relationship with Germany.
Choices:
Canada–Philippines relations
Slovakia–Ukraine border
Colombia–Czech Republic relations
Nicaragua–United States relations
5th Academy Awards
Bangladesh–Indonesia relations
India–Nigeria relations
27th Tony Awards
Bangladesh–Ukraine relations
Germany–Samoa relations
Answer: Germany–Samoa relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Samoa" . ?e_2 <pred:name> "Germany" . ?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: Samoa
function: Find
inputs: Germany
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of