Question: what is the direction of western Cape which is along the border of Eastern Cape
Choices:
east
117233744
average
northeast
west
north
Emma Woodhouse, handsome, clever, and rich, with a comfortable home and happy disposition, seemed to unite some of the best blessings of existence; and had lived nearly twenty-one years in the world with very little to distress or vex her.
N
southwest
north-northeast
Program:
function: Find
inputs: Western Cape
function: Find
inputs: Eastern Cape
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
direction
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Western Cape" . ?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 .  }
Answer: east