Question: Which location is Fort Bend County (which shares a border with Harris County) relative to?
Choices:
south-southeast
west-northwest
southeast
northeast
northwest
southwest
north-northwest
north
south
consolidated city-county
Answer: northeast
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Fort Bend County" . ?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 .  }
Program:
function: Find
inputs: Fort Bend County
function: Find
inputs: Harris County
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
direction relative to location