Question: Tell me the direction of KwaZulu-Natal shares a border with Eastern Cape.
Choices:
north-northeast
west
northeast
north
loan
Embassy of Ukraine, Yerevan
east
143242
QT0525000
southwest
Answer: southwest
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "KwaZulu-Natal" . ?e_2 <pred:name> "Eastern Cape" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <direction> ?qpv .  }
Program:
function: Find
inputs: KwaZulu-Natal
function: Find
inputs: Eastern Cape
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
direction