Question: What is the connection between Gaston County to York County (the one that shares border with Mecklenburg County)?
Choices:
candidate
contains administrative territorial entity
place of origin (Switzerland)
eye color
use
country
shares border with
opposite of
office held by head of the organisation
godparent
Answer: shares border with
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> "Mecklenburg County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Gaston County
function: Find
inputs: Mecklenburg 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