Question: What location is relative to Andorra which shares a border with Catalonia?
Choices:
south-southwest
west-northwest
south
north
north-northwest
east
northeast
southeast
consolidated city-county
south-southeast
Program:
function: Find
inputs: Catalonia
function: Find
inputs: Andorra
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
direction relative to location
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Catalonia" . ?e_2 <pred:name> "Andorra" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <direction_relative_to_location> ?qpv .  }
Answer: north