Question: Where exactly does Jefferson County (the one whose population is 545,476) border Douglas County (the one whose area is 2,183 square kilometres) ?
Choices: consolidated city-county
southeast
west-northwest
northwest
north-northwest
north
south-southeast
east
south-southwest
south
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jefferson County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "545476"^^xsd:double . ?e_2 <pred:name> "Douglas County" . ?e_2 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "2183"^^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: Jefferson County
function: FilterNum
dependencies: 0
inputs: population
545476
=
function: Find
inputs: Douglas County
function: FilterNum
dependencies: 2
inputs: area
2183 square kilometre
=
function: QueryRelationQualifier
dependencies: 1
3
inputs: shares border with
direction relative to location
Answer: east