Question: The Democratic Republic of the Congo has which of its borders in common with Tanzania?
Choices:
Malta–Spain relations
India–Italy relations
Albania–Croatia relations
Denmark–Georgia (country) relations
Benin–United States relations
Cuba–Russia relations
Democratic Republic of the Congo–Tanzania border
Kyrgyzstan–United Kingdom relations
Nebraska–Wyoming border
Bangladesh–Colombia relations
Program:
function: Find
inputs: Democratic Republic of the Congo
function: Find
inputs: Tanzania
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Democratic Republic of the Congo" . ?e_2 <pred:name> "Tanzania" . ?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 .  }
Answer: Democratic Republic of the Congo–Tanzania border