Question: What is the subject of Germany having a diplomatic relation with Kazakhstan?
Choices:
Cameroon–Nigeria border
Central African Republic–South Sudan border
Denmark–Turkey relations
Cuba–United States border
Egypt–Japan relations
Albania–Taiwan relations
Djibouti–Taiwan relations
move of the capital of Russia from Moscow to Saint Petersburg in the 1730s
Germany–Kazakhstan relations
Czech Republic–Denmark relations
Answer: Germany–Kazakhstan relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Germany" . ?e_2 <pred:name> "Kazakhstan" . ?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: Germany
function: Find
inputs: Kazakhstan
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of