Question: Tell me the subject of this statement, Nepal has a diplomatic relationship with Germany.
Choices:
Jamaica–Spain relations
Mauritania–United States relations
Germany–Kyrgyzstan relations
South Africa–Zimbabwe relations
Germany-Nepal relations
Bangladesh–Nigeria relations
Bangladesh–Philippines relations
Germany–Honduras relations
Ecuador–Malaysia relations
East Timor–Taiwan relations
Program:
function: Find
inputs: Nepal
function: Find
inputs: Germany
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Nepal" . ?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 .  }
Answer: Germany-Nepal relations