Question: In which location does Saudi Arabia share border with Qatar?
Choices: southeast
southwest
north-northwest
north
east
south-southeast
south-southwest
south
consolidated city-county
northwest
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Saudi Arabia" . ?e_2 <pred:name> "Qatar" . ?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 .  }
Program:
function: Find
inputs: Saudi Arabia
function: Find
inputs: Qatar
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
direction relative to location
Answer: east