Question: Which location is the border shared by by Dallas County (whose population is 2453907) and Collin County relative to?
Choices: south-southeast
northeast
west
consolidated city-county
south-southwest
north
south
northwest
southwest
west-northwest
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Dallas County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "2453907"^^xsd:double . ?e_2 <pred:name> "Collin 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: Dallas County
function: FilterNum
dependencies: 0
inputs: population
2453907
=
function: Find
inputs: Collin County
function: QueryRelationQualifier
dependencies: 1
2
inputs: shares border with
direction relative to location
Answer: north