Question: Which directional border does Boulder County have in common with Jefferson County, population 551798?
Choices: southeast
east
west
consolidated city-county
west-northwest
southwest
north-northwest
south
south-southwest
north
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Boulder County" . ?e_2 <pred:name> "Jefferson County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "551798"^^xsd:double . ?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: Boulder County
function: Find
inputs: Jefferson County
function: FilterNum
dependencies: 1
inputs: population
551798
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: shares border with
direction relative to location
Answer: south