Question: What is the connection between Gaston County to York County (the one that shares border with Gaston County)>?
Choices:
statistical leader
depicted by
season starts
culture
significant person
public holiday
sexual orientation
shares border with
use
relative
Program:
function: Find
inputs: Gaston County
function: Find
inputs: Gaston County
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: York County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gaston County" . ?e_2 <pred:name> "York County" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Gaston County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with