Question: To which location is Collins County, sharing border with Dallas County (the one that shares border with Tarrant County) ?
Choices:
west
consolidated city-county
north-northwest
east
north
northwest
south-southwest
southwest
northeast
southeast
Program:
function: Find
inputs: Tarrant County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Dallas County
function: And
dependencies: 1
2
function: Find
inputs: Collin County
function: QueryRelationQualifier
dependencies: 3
4
inputs: shares border with
direction relative to location
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Dallas County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Tarrant County" . ?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 .  }
Answer: north