Question: Brittany, where Geoffrey Unsworth died, has which directional border in common with Lower Normandy?
Choices:
northwest
east
northeast
consolidated city-county
southeast
southwest
west-northwest
south-southeast
south-southwest
west
Program:
function: Find
inputs: Geoffrey Unsworth
function: Relate
dependencies: 0
inputs: place of death
forward
function: Find
inputs: Brittany
function: And
dependencies: 1
2
function: Find
inputs: Lower Normandy
function: QueryRelationQualifier
dependencies: 3
4
inputs: shares border with
direction relative to location
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Brittany" . ?e_3 <place_of_death> ?e_1 . ?e_3 <pred:name> "Geoffrey Unsworth" . ?e_2 <pred:name> "Lower Normandy" . ?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: northeast