Question: Where exactly does Virginia Beach border Chesapeake ?
Choices: west
south
south-southeast
east
southwest
northeast
south-southwest
northwest
west-northwest
southeast
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Virginia Beach" . ?e_2 <pred:name> "Chesapeake" . ?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: Virginia Beach
function: Find
inputs: Chesapeake
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
direction relative to location
Answer: west