Question: Which border is shared by Algeria and Mauritania?
Choices:
Algeria–Mauritania border
Argentina–Switzerland relations
Merger of the KPD and SPD into the Socialist Unity Party of Germany
Italy–Yemen relations
Bulgaria–Croatia relations
Azerbaijan–Russia border
Belarus–Poland relations
Saudi Arabia–Taiwan relations
Australia–North Korea relations
Germany–Syria relations
Program:
function: Find
inputs: Algeria
function: Find
inputs: Mauritania
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Algeria" . ?e_2 <pred:name> "Mauritania" . ?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: Algeria–Mauritania border