Question: Western Australia has a border with South Australia, what location is it relative to?
Choices:
northeast
west-northwest
south
west
southwest
north-northwest
south-southwest
east
consolidated city-county
southeast
Program:
function: Find
inputs: Western Australia
function: Find
inputs: South Australia
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
direction relative to location
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Western Australia" . ?e_2 <pred:name> "South Australia" . ?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: southeast