Question: Which location is the border shared by by York County (whose FIPS 6-4 (US counties) is 42133) and Baltimore County relative to?
Choices:
consolidated city-county
northwest
northeast
south-southwest
west
north
west-northwest
southwest
north-northwest
southeast
Answer: north
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Baltimore County" . ?e_2 <pred:name> "York County" . ?e_2 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "42133" . ?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: York County
function: FilterStr
dependencies: 1
inputs: FIPS 6-4 (US counties)
42133
function: QueryRelationQualifier
dependencies: 0
2
inputs: shares border with
direction relative to location