Question: In what direction does South America share a border with North America?
Choices:
northeast
west
east
southwest
Howard Ashman
north
Earth
18800
north-northeast
9051
Program:
function: Find
inputs: South America
function: Find
inputs: North America
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
direction
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "South America" . ?e_2 <pred:name> "North America" . ?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: north