Question: For Tanzania, what is the subject of this statement that it shares a border with Malawi?
Choices:
Warren Field
Germany–Swaziland relations
China–North Korea border
Somalia–Taiwan relations
Libya–Vanuatu relations
Poland–Russia relations
Malawi–Tanzania border
Romania–Ukraine border
Kazakhstan–Serbia relations
virgin birth of Jesus
Answer: Malawi–Tanzania border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tanzania" . ?e_2 <pred:name> "Malawi" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Tanzania
function: Find
inputs: Malawi
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
statement is subject of