Question: New South Wales shares which of its borders with South Australia, in terms of compass direction?
Choices:
north-northwest
consolidated city-county
east
southeast
northeast
south-southeast
west-northwest
northwest
south
west
Program:
function: Find
inputs: New South Wales
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> "New South Wales" . ?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: west