Question: For Montgomery County (the one whose population is 484790), to which location is it relative as it shares a border with Harris County?
Choices:
south
south-southeast
south-southwest
east
west-northwest
northwest
southeast
southwest
northeast
consolidated city-county
Program:
function: Find
inputs: Montgomery County
function: FilterNum
dependencies: 0
inputs: population
484790
=
function: Find
inputs: Harris County
function: QueryRelationQualifier
dependencies: 1
2
inputs: shares border with
direction relative to location
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Montgomery County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "484790"^^xsd:double . ?e_2 <pred:name> "Harris 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 .  }
Answer: south