Question: Baltimore County has which directional border in common with Harford County?
Choices:
east
south-southwest
west-northwest
consolidated city-county
north-northwest
northwest
southwest
west
southeast
north
Answer: east
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Baltimore County" . ?e_2 <pred:name> "Harford County" . ?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: Baltimore County
function: Find
inputs: Harford County
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
direction relative to location