Question: Which border does South Africa have in common with Lesotho?
Choices:
Colombia–Japan relations
Ethiopia–Russia relations
India–Israel relations
Bangladesh–Luxembourg relations
Dominican Republic–Venezuela border
Burkina Faso–Taiwan relations
Nebraska–South Dakota border
Lesotho–South Africa border
South Africa–Swaziland relations
Libya–Malta relations
Answer: Lesotho–South Africa border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "South Africa" . ?e_2 <pred:name> "Lesotho" . ?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: South Africa
function: Find
inputs: Lesotho
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
statement is subject of